PHP Класс 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.
Автор: Gunnar Wrobel ([email protected])
Наследование: extends Horde_Xml_Element_List
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__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.

Защищенные методы

Метод Описание
_buildListItemCache ( ) : array Build the list of elements.

Приватные методы

Метод Описание
_buildPackageList ( ) : array Build the list of packages.

Описание методов

__construct() публичный Метод

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

_buildListItemCache() защищенный Метод

Build the list of elements.
protected _buildListItemCache ( ) : array
Результат array The list of elements.

getPackages() публичный Метод

Return the list of packages.
public getPackages ( ) : array
Результат array The packages.

listPackages() публичный Метод

Return the list of package names.
public listPackages ( ) : array
Результат array The package names.