PHP Class Horde_Pear_Rest_Releases, horde

Copyright 2011-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Inheritance: extends Horde_Xml_Element_List
Afficher le fichier Open project: horde/horde

Méthodes publiques

Méthode Description
__construct ( resource | string $xml ) Constructor.
getReleaseStability ( string $version ) : string Return the stability for the provided release version.
getReleases ( ) : array Return the list of releases.
listReleases ( ) : array Return the list of releases.

Méthodes protégées

Méthode Description
_buildListItemCache ( ) : array Build the list of elements.

Private Methods

Méthode Description
_buildReleases ( ) : array Build the list of releases.

Method Details

__construct() public méthode

Constructor.
public __construct ( resource | string $xml )
$xml resource | string The XML document received from the server.

_buildListItemCache() protected méthode

Build the list of elements.
protected _buildListItemCache ( ) : array
Résultat array The list of elements.

getReleaseStability() public méthode

Return the stability for the provided release version.
public getReleaseStability ( string $version ) : string
$version string The version to query.
Résultat string The stability of the specified release.

getReleases() public méthode

Return the list of releases.
public getReleases ( ) : array
Résultat array The releases.

listReleases() public méthode

Return the list of releases.
public listReleases ( ) : array
Résultat array The releases.