PHP Class Horde_Release_Website, horde

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

Protected Properties

Свойство Type Description
$_db PDO Database handle.

Méthodes publiques

Méthode Description
__construct ( PDO $db ) Constructor.
addNewVersion ( array $info = [] ) Adds a new version to an application.

Méthodes protégées

Méthode Description
_stateFromVersion ( string $version ) : string Returns the release stability of a version.

Method Details

__construct() public méthode

Constructor.
public __construct ( PDO $db )
$db PDO Database handle.

_stateFromVersion() protected méthode

Returns the release stability of a version.
protected _stateFromVersion ( string $version ) : string
$version string A version string.
Résultat string Release stability information.

addNewVersion() public méthode

Adds a new version to an application.
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".

Property Details

$_db protected_oe property

Database handle.
protected PDO $_db
Résultat PDO