PHP Class Horde_Pear_Rest_Dependencies, 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.
Show file Open project: horde/horde Class Usage Examples

Public Methods

Method Description
__construct ( resource | string $txt ) Constructor.
getDependencies ( ) : string Return the package name.

Private Methods

Method Description
_convert ( string $type, array $input, string $optional, &$result ) : null Convert the PEAR server response into an array that we would get when accessing the dependencies of a local package.xml via PEAR.

Method Details

__construct() public method

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

getDependencies() public method

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