PHP Class Zend_Version

Afficher le fichier Open project: kimai/kimai Class Usage Examples

Protected Properties

Свойство Type Description
$_latestVersion string The latest stable version Zend Framework available

Méthodes publiques

Méthode Description
compareVersion ( string $version ) : integer Compare the specified Zend Framework version string $version with the current Zend_Version::VERSION of Zend Framework.
getLatest ( ) : string Fetches the version of the latest stable release

Method Details

compareVersion() public static méthode

Compare the specified Zend Framework version string $version with the current Zend_Version::VERSION of Zend Framework.
public static compareVersion ( string $version ) : integer
$version string A version string (e.g. "0.7.1").
Résultat integer -1 if the $version is older, 0 if they are the same, and +1 if $version is newer.

getLatest() public static méthode

Fetches the version of the latest stable release
public static getLatest ( ) : string
Résultat string

Property Details

$_latestVersion protected_oe static_oe property

The latest stable version Zend Framework available
protected static string $_latestVersion
Résultat string