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
ファイルを表示 Open project: horde/horde

Public Methods

Method 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.

Protected Methods

Method Description
_buildListItemCache ( ) : array Build the list of elements.

Private Methods

Method Description
_buildReleases ( ) : array Build the list of releases.

Method Details

__construct() public method

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

_buildListItemCache() protected method

Build the list of elements.
protected _buildListItemCache ( ) : array
return array The list of elements.

getReleaseStability() public method

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

getReleases() public method

Return the list of releases.
public getReleases ( ) : array
return array The releases.

listReleases() public method

Return the list of releases.
public listReleases ( ) : array
return array The releases.