\Horde_Pear_Rest_Releases

A parser for a release list response from a PEAR server.

Summary

Methods
Properties
Constants
__construct()
listReleases()
getReleases()
getReleaseStability()
No public properties found
No constants found
_buildListItemCache()
No protected properties found
N/A
_buildReleases()
$_releases
N/A

Properties

$_releases

$_releases : array

The list of releases.

Type

array

Methods

__construct()

__construct(resource|string  $xml) 

Constructor.

Parameters

resource|string $xml

The XML document received from the server.

listReleases()

listReleases() : array

Return the list of releases.

Returns

array —

The releases.

getReleases()

getReleases() : array

Return the list of releases.

Returns

array —

The releases.

getReleaseStability()

getReleaseStability(string  $version) : string

Return the stability for the provided release version.

Parameters

string $version

The version to query.

Returns

string —

The stability of the specified release.

_buildListItemCache()

_buildListItemCache() : array

Build the list of elements.

Returns

array —

The list of elements.

_buildReleases()

_buildReleases() : array

Build the list of releases.

Returns

array —

The list of releases.