| Server IP : 195.130.67.5 / Your IP : 216.73.216.231 Web Server : Microsoft-IIS/10.0 System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586 User : IUSR ( 0) PHP Version : 7.4.19 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/inetpub/wwwroot/icd/jeventsComp/admin/libraries/ |
Upload File : |
<?php
/**
* JEvents Component for Joomla 1.5.x
*
* @version $Id: version.php 1704 2010-02-16 12:29:20Z 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 = '4';
/** @var string Development Status */
var $DEV_STATUS = '';
/** @var string Copyright Text */
var $COPYRIGHT = 'Copyright © 2006-2010';
/** @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;
}
}
?>