PHP 클래스 Zend_Version

파일 보기 프로젝트 열기: kimai/kimai 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$_latestVersion string The latest stable version Zend Framework available

공개 메소드들

메소드 설명
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

메소드 상세

compareVersion() 공개 정적인 메소드

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").
리턴 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

프로퍼티 상세

$_latestVersion 보호되어 있는 정적으로 프로퍼티

The latest stable version Zend Framework available
protected static string $_latestVersion
리턴 string