[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Summary view] [Print] [Text view]
1 <?php 2 3 /** 4 * @package Joomla.Administrator 5 * @subpackage mod_version 6 * 7 * @copyright (C) 2012 Open Source Matters, Inc. <https://www.joomla.org> 8 * @license GNU General Public License version 2 or later; see LICENSE.txt 9 */ 10 11 namespace Joomla\Module\Version\Administrator\Helper; 12 13 use Joomla\CMS\Version; 14 15 // phpcs:disable PSR1.Files.SideEffects 16 \defined('_JEXEC') or die; 17 // phpcs:enable PSR1.Files.SideEffects 18 19 /** 20 * Helper for mod_version 21 * 22 * @since 1.6 23 */ 24 abstract class VersionHelper 25 { 26 /** 27 * Get the Joomla version number. 28 * 29 * @return string String containing the current Joomla version. 30 */ 31 public static function getVersion() 32 { 33 $version = new Version(); 34 35 return '‎' . $version->getShortVersion(); 36 } 37 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |