CoreFiles by mySites.guru
VersionHelper.php33 lines, 698 bytes, from Joomla_4.0.0-alpha2-Alpha-Full_Package.zip
Raw History Compare with 3.10.0-alpha9
md5
2e84830d7b3c0d1c73ed06bb72f68c8f
sha1
9409859fc0ab3a0c9128f368b7fc6164fe497732
sha256
4e508dd1fd37e285a26ac6ca38ff70a5c4c0254a6204301a81b6b61dbbe5abdb
<?php
/**
 * @package     Joomla.Administrator
 * @subpackage  mod_version
 *
 * @copyright   Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved.
 * @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 member items of the submenu.
	 *
	 * @return  string  String containing the current Joomla version.
	 */
	public static function getVersion()
	{
		$version = new Version;

		return $version::PRODUCT . ' ' . $version->getShortVersion();
	}
}

No other release has this exact content. See every version of this file.