PHP Класс ViMbAdmin_Version

Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$_lastestVersion string The latest stable version Zend Framework available

Открытые методы

Метод Описание
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

Описание методов

compareVersion() публичный статический Метод

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").
Результат integer -1 if the $version is older, 0 if they are the same, and +1 if $version is newer.

getLatest() публичный статический Метод

Fetches the version of the latest stable release
public static getLatest ( ) : string
Результат string

Описание свойств

$_lastestVersion защищенное статическое свойство

The latest stable version Zend Framework available
protected static string $_lastestVersion
Результат string