PHP Class Horde_Pear_Rest_Package, 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
Exibir arquivo Open project: horde/horde

Public Methods

Method Description
__construct ( resource | string $xml ) 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.

Method Details

__construct() public method

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

getChannel() public method

Return the package channel.
public getChannel ( ) : string
return string The package channel.

getDescription() public method

Return the package description.
public getDescription ( ) : string
return string The package description.

getLicense() public method

Return the package license.
public getLicense ( ) : string
return string The package license.

getName() public method

Return the package name.
public getName ( ) : string
return string The package name.

getSummary() public method

Return the package summary.
public getSummary ( ) : string
return string The package summary.