PHP Class Horde_Pear_Rest_PackageList, 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 Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( resource | string $xml ) Constructor.
getPackageLink ( string $package ) : string Return the link for additional information on the specified package.
getPackages ( ) : array Return the list of packages.
listPackages ( ) : array Return the list of package names.

Méthodes protégées

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

Private Methods

Méthode Description
_buildPackageList ( ) : array Build the list of packages.

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.

getPackages() public méthode

Return the list of packages.
public getPackages ( ) : array
Résultat array The packages.

listPackages() public méthode

Return the list of package names.
public listPackages ( ) : array
Résultat array The package names.