Zend Framework  1.12
Static Public Member Functions | Public Attributes | Static Protected Attributes | List of all members
Zend_Version Class Reference

Static Public Member Functions

static compareVersion ($version)
 Compare the specified Zend Framework version string $version with the current Zend_Version::VERSION of Zend Framework.
 
static getLatest ()
 Fetches the version of the latest stable release.
 

Public Attributes

const VERSION = '1.12.4'
 Zend Framework version identification - see compareVersion()
 

Static Protected Attributes

static $_latestVersion
 

Member Function Documentation

static compareVersion (   $version)
static

Compare the specified Zend Framework version string $version with the current Zend_Version::VERSION of Zend Framework.

Parameters
string$versionA version string (e.g. "0.7.1").
Returns
int -1 if the $version is older, 0 if they are the same, and +1 if $version is newer.
static getLatest ( )
static

Fetches the version of the latest stable release.

string

Member Data Documentation

$_latestVersion
staticprotected
const VERSION = '1.12.4'

Zend Framework version identification - see compareVersion()