\Horde_Pear_Rest_Release

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

Summary

Methods
Properties
Constants
__construct()
getName()
getChannel()
getVersion()
getLicense()
getSummary()
getDescription()
getNotes()
getDownloadUri()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

__construct()

__construct(resource|string  $xml) 

Constructor.

Parameters

resource|string $xml

The XML document received from the server.

getName()

getName() : string

Return the package name.

Returns

string —

The package name.

getChannel()

getChannel() : string

Return the package channel.

Returns

string —

The package channel.

getVersion()

getVersion() : string

Return the release version.

Returns

string —

The release version.

getLicense()

getLicense() : string

Return the package license.

Returns

string —

The package license.

getSummary()

getSummary() : string

Return the package summary.

Returns

string —

The package summary.

getDescription()

getDescription() : string

Return the package description.

Returns

string —

The package description.

getNotes()

getNotes() : string

Return the release notes.

Returns

string —

The release notes.

getDownloadUri()

getDownloadUri() : string

Return the uri for downloading the package.

Returns

string —

The URI.