프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$_db | PDO | Database handle. |
메소드 | 설명 | |
---|---|---|
__construct ( PDO $db ) | Constructor. | |
addNewVersion ( array $info = [] ) | Adds a new version to an application. |
메소드 | 설명 | |
---|---|---|
_stateFromVersion ( string $version ) : string | Returns the release stability of a version. |
protected _stateFromVersion ( string $version ) : string | ||
$version | string | A version string. |
리턴 | string | Release stability information. |
public addNewVersion ( array $info = [] ) | ||
$info | array | Hash with the version information. Possible keys: - application: (string) The name of the application. - version: (string) The version string. - state: (string) The version state. One of "stable", "dev", "three". By default automatically detected from "version. - date: (DateTime) The release date. Defaults to today. - pear: (boolean) A PEAR release? Defaults to true. - dir: (string) Optional website directory, if not "application". |