PageRenderTime 36ms CodeModel.GetById 10ms RepoModel.GetById 0ms app.codeStats 0ms

/pdf/code/trunk/administrator/components/com_artofpdf/version.php

https://bitbucket.org/eddieajau/the-art-of-joomla-archive
PHP | 62 lines | 14 code | 7 blank | 41 comment | 0 complexity | 74fd7731b79817558483625d3648e2aa MD5 | raw file
  1. <?php
  2. /**
  3. * @version $Id: version.php 320 2010-10-18 01:03:30Z eddieajau $
  4. * @package NewLifeInIT
  5. * @subpackage com_artofpdf
  6. * @copyright Copyright 2010 New Life in IT Pty Ltd. All rights reserved.
  7. * @license GNU General Public License version 2 or later.
  8. * @link http://www.theartofjoomla.com
  9. * @author Andrew Eddie <andrew.eddie@newlifeinit.com>
  10. */
  11. // no direct access
  12. defined('_JEXEC') or die;
  13. /**
  14. * @package NewLifeInIT
  15. * @subpackage com_artofpdf
  16. * @since 1.0
  17. */
  18. class ArtofPdfVersion
  19. {
  20. /**
  21. * @var string The major.minor version number.
  22. * @since 1.0
  23. */
  24. public $version = '1.0';
  25. /**
  26. * @var string The maintenance version number.
  27. * @since 1.0
  28. */
  29. public $subversion = '1';
  30. /**
  31. * @var string The date of this release.
  32. * @since 1.0
  33. */
  34. public $date = '2010-10-11 00:00:00';
  35. /**
  36. * @var string The development status of this release.
  37. * @since 1.0
  38. */
  39. public $status = '';
  40. /**
  41. * @var string The SCM revision of this release.
  42. * @since 1.0
  43. */
  44. public $revision = '$Revision: 320 $';
  45. /**
  46. * Get the build number.
  47. *
  48. * @return int The SCM build number.
  49. * @since 1.0
  50. */
  51. public function getBuild()
  52. {
  53. return intval(substr($this->revision, 11));
  54. }
  55. }