Documentation

Horde_Pear_Rest_Releases extends Horde_Xml_Element_List
in package

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

Tags
author

Gunnar Wrobel wrobel@pardus.de

category

Horde

copyright

2011-2017 Horde LLC

license

http://www.horde.org/licenses/lgpl21 LGPL 2.1

Table of Contents

$_releases  : array<string|int, mixed>
The list of releases.
__construct()  : mixed
Constructor.
getReleases()  : array<string|int, mixed>
Return the list of releases.
getReleaseStability()  : string
Return the stability for the provided release version.
listReleases()  : array<string|int, mixed>
Return the list of releases.
_buildListItemCache()  : array<string|int, mixed>
Build the list of elements.
_buildReleases()  : array<string|int, mixed>
Build the list of releases.

Properties

$_releases

The list of releases.

private array<string|int, mixed> $_releases

Methods

__construct()

Constructor.

public __construct(resource|string $xml) : mixed
Parameters
$xml : resource|string

The XML document received from the server.

Return values
mixed

getReleases()

Return the list of releases.

public getReleases() : array<string|int, mixed>
Return values
array<string|int, mixed>

The releases.

getReleaseStability()

Return the stability for the provided release version.

public getReleaseStability(string $version) : string
Parameters
$version : string

The version to query.

Return values
string

The stability of the specified release.

listReleases()

Return the list of releases.

public listReleases() : array<string|int, mixed>
Return values
array<string|int, mixed>

The releases.

_buildListItemCache()

Build the list of elements.

protected _buildListItemCache() : array<string|int, mixed>
Return values
array<string|int, mixed>

The list of elements.

_buildReleases()

Build the list of releases.

private _buildReleases() : array<string|int, mixed>
Return values
array<string|int, mixed>

The list of releases.

Search results