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.
상속: extends Horde_Xml_Element_List
파일 보기 프로젝트 열기: horde/horde 1 사용 예제들

공개 메소드들

메소드 설명
__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.