Server IP : 180.180.241.3 / Your IP : 216.73.216.252 Web Server : Microsoft-IIS/7.5 System : Windows NT NETWORK-NHRC 6.1 build 7601 (Windows Server 2008 R2 Standard Edition Service Pack 1) i586 User : IUSR ( 0) PHP Version : 5.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/AppServ/www/app/webroot/news/administrator/components/com_jevents/libraries/ |
Upload File : |
<?php /** * JEvents Component for Joomla 1.5.x * * @version $Id: version.php 1466 2009-06-10 17:24:04Z geraint $ * @package JEvents * @copyright Copyright (C) 2008-2009 GWE Systems Ltd, 2006-2008 JEvents Project Group * @license GNU/GPLv2, see http://www.gnu.org/licenses/gpl-2.0.html * @link http://www.jevents.net */ // no direct access defined( '_JEXEC' ) or die( 'Restricted access' ); //class JEvents_Version extends JObject { class JEventsVersion { /** @var string Product */ var $PRODUCT = 'JEvents'; /** @var int Main Release Level */ var $RELEASE = '1'; /** @var int Sub Release Level */ var $DEV_LEVEL = '5'; /** @var string Patch Level */ var $PATCH_LEVEL = '1'; /** @var string Development Status */ var $DEV_STATUS = ''; /** @var string Copyright Text */ var $COPYRIGHT = 'Copyright © 2006-2009'; /** @var string Copyright Text */ var $COPYRIGHTBY = 'GWE Systems Ltd, JEvents Project Group'; /** @var string LINK */ var $LINK = 'http://www.jevents.net'; function &getInstance() { static $instance; if ($instance == null) { $instance = new JEventsVersion(); } return $instance; } /** * access instance properties * @var string property name * @return mixed property content */ function get($property) { if(isset($this->$property)) { return $this->$property; } return null; } /** * Returns a reference to a global EventsVersion object, only creating it * if it doesn't already exist. * * @static * @access public * @return object The EventsVersion object. */ /** * @return string URL */ function getUrl() { return $this->LINK; } /** * @return string short Copyright */ function getShortCopyright() { return $this->COPYRIGHT; } /** * @return string long Copyright */ function getLongCopyright() { return $this->COPYRIGHT . ' ' . $this->COPYRIGHTBY; } /** * @return string Long format version */ function getLongVersion() { return $this->PRODUCT .' '. $this->getShortVersion(); } /** * @return string Short version format */ function getShortVersion() { return 'v' . $this->RELEASE . '.' . $this->DEV_LEVEL . '.' . $this->PATCH_LEVEL . ' ' . $this->DEV_STATUS; } } ?>