Horde_Pear_Rest_Package
extends Horde_Xml_Element
in package
A parser for a package information response from a PEAR server.
Tags
Table of Contents
- __construct() : mixed
- Constructor.
- getChannel() : string
- Return the package channel.
- getDescription() : string
- Return the package description.
- getLicense() : string
- Return the package license.
- getName() : string
- Return the package name.
- getSummary() : string
- Return the package summary.
Methods
__construct()
Constructor.
public
__construct(resource|string $xml) : mixed
Parameters
- $xml : resource|string
-
The XML document received from the server.
Return values
mixed —getChannel()
Return the package channel.
public
getChannel() : string
Return values
string —The package channel.
getDescription()
Return the package description.
public
getDescription() : string
Return values
string —The package description.
getLicense()
Return the package license.
public
getLicense() : string
Return values
string —The package license.
getName()
Return the package name.
public
getName() : string
Return values
string —The package name.
getSummary()
Return the package summary.
public
getSummary() : string
Return values
string —The package summary.