/pdf/code/trunk/administrator/components/com_artofpdf/version.php
PHP | 62 lines | 14 code | 7 blank | 41 comment | 0 complexity | 74fd7731b79817558483625d3648e2aa MD5 | raw file
- <?php
- /**
- * @version $Id: version.php 320 2010-10-18 01:03:30Z eddieajau $
- * @package NewLifeInIT
- * @subpackage com_artofpdf
- * @copyright Copyright 2010 New Life in IT Pty Ltd. All rights reserved.
- * @license GNU General Public License version 2 or later.
- * @link http://www.theartofjoomla.com
- * @author Andrew Eddie <andrew.eddie@newlifeinit.com>
- */
- // no direct access
- defined('_JEXEC') or die;
- /**
- * @package NewLifeInIT
- * @subpackage com_artofpdf
- * @since 1.0
- */
- class ArtofPdfVersion
- {
- /**
- * @var string The major.minor version number.
- * @since 1.0
- */
- public $version = '1.0';
- /**
- * @var string The maintenance version number.
- * @since 1.0
- */
- public $subversion = '1';
- /**
- * @var string The date of this release.
- * @since 1.0
- */
- public $date = '2010-10-11 00:00:00';
- /**
- * @var string The development status of this release.
- * @since 1.0
- */
- public $status = '';
- /**
- * @var string The SCM revision of this release.
- * @since 1.0
- */
- public $revision = '$Revision: 320 $';
- /**
- * Get the build number.
- *
- * @return int The SCM build number.
- * @since 1.0
- */
- public function getBuild()
- {
- return intval(substr($this->revision, 11));
- }
- }