PHP Class ViMbAdmin_Version

显示文件 Open project: opensolutions/vimbadmin Class Usage Examples

Protected Properties

Property Type Description
$_lastestVersion string The latest stable version Zend Framework available

Public Methods

Method Description
compareVersion ( string $version ) : integer Compare the specified version string $version with the current ViMbAdmin_Version::VERSION.
getLatest ( ) : string Fetches the version of the latest stable release

Method Details

compareVersion() public static method

Compare the specified version string $version with the current ViMbAdmin_Version::VERSION.
public static compareVersion ( string $version ) : integer
$version string A version string (e.g. "0.7.1").
return integer -1 if the $version is older, 0 if they are the same, and +1 if $version is newer.

getLatest() public static method

Fetches the version of the latest stable release
public static getLatest ( ) : string
return string

Property Details

$_lastestVersion protected_oe static_oe property

The latest stable version Zend Framework available
protected static string $_lastestVersion
return string