PHP Class Kimai_Update_Version

ファイルを表示 Open project: kimai/kimai Class Usage Examples

Public Methods

Method Description
__construct ( array $versionInfo )
compare ( $version, $revision = null ) : boolean Compare the version to the given values.
isBeta ( ) : boolean
isStable ( ) : boolean

Protected Methods

Method Description
validate ( array $versionInfo ) : boolean Check if all required fields are set.

Method Details

__construct() public method

public __construct ( array $versionInfo )
$versionInfo array

compare() public method

Compare the version to the given values.
public compare ( $version, $revision = null ) : boolean
$version
$revision
return boolean

isBeta() public method

public isBeta ( ) : boolean
return boolean

isStable() public method

public isStable ( ) : boolean
return boolean

validate() protected method

Check if all required fields are set.
protected validate ( array $versionInfo ) : boolean
$versionInfo array
return boolean