Source for file Version.php
Documentation is available at Version.php
* A Framework for Creating and Using Complex Web Elements
* The purpose of this framework is to provide a library of high-level objects
* to facilitate common HTML coding tasks, such as menus, tables, and forms.
* The intent is to reduce repetitive HTML coding as much as possible, replacing
* it with a combination of configuration files and style sheets with
* standardized naming conventions.
* This framework is built on and requires the
* {@link http://framework.zend.com/ Zend Framework}.
* @author Lyle Frost <lfrost@cnz.com>
* @copyright Copyright (c) 2006-2007 Citadel Network <{@link http://www.citadelnetwork.com/}>
* @license http://www.citadelnetwork.com/license/cnzframework New BSD License
* @version $Id: Version.php 27 2007-07-19 18:47:54Z lfrost $
* This class is used to determine the running version of CNZ Framework.
/** Cnz Framework Version */
private function __construct()
* Compare the specified Cnz Framework version <var>$version</var> with
* the current Cnz Framework version (<var>Cnz_Version::VERSION</var>).
* @param string $version A version string.
* @return boolean -1 if the $version is older,
* 0 if they are the same,
* +1 if $version is newer.
|