Version.php #1

  • //
  • guest/
  • perforce_software/
  • chronicle/
  • main/
  • library/
  • P4Cms/
  • View/
  • Helper/
  • Version.php
  • View
  • Commits
  • Open Download .zip Download (631 B)
<?php
/**
 * Helper to display the application version
 * 
 * @copyright   2011 Perforce Software. All rights reserved.
 * @license     Please see LICENSE.txt in top-level folder of this distribution.
 * @version     <release>/<patch>
 * @todo        add option to return part of the version string (release, patchlevel, suppdate)
 */
class P4Cms_View_Helper_Version extends Zend_View_Helper_Abstract
{
    /**
     * Display the application version
     *
     * @return  string  The value of the constant
     */
    public function version()
    {
        return P4CMS_VERSION_RELEASE . '/' . P4CMS_VERSION_PATCHLEVEL;
    }
}

# Change User Description Committed
#1 16170 perforce_software Move Chronicle files to follow new path scheme for branching.
//guest/perforce_software/chronicle/library/P4Cms/View/Helper/Version.php
#1 8972 Matt Attaway Initial add of the Chronicle source code