PHP 8.1.33
Preview: VersionHelper.php Size: 668 B
/home/jambtst2015/public_html/ida.com.ng/administrator/modules/mod_version/src/Helper/VersionHelper.php

<?php
/**
 * @package     Joomla.Administrator
 * @subpackage  mod_version
 *
 * @copyright   (C) 2012 Open Source Matters, Inc. <https://www.joomla.org>
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

namespace Joomla\Module\Version\Administrator\Helper;

\defined('_JEXEC') or die;

use Joomla\CMS\Version;

/**
 * Helper for mod_version
 *
 * @since  1.6
 */
abstract class VersionHelper
{
	/**
	 * Get the Joomla version number.
	 *
	 * @return  string  String containing the current Joomla version.
	 */
	public static function getVersion()
	{
		$version = new Version;

		return '&#x200E;' . $version->getShortVersion();
	}
}

Directory Contents

Dirs: 0 × Files: 1

Name Size Perms Modified Actions
668 B lrw-r--r-- 2024-11-22 17:53:13
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).