Method | Description | |
---|---|---|
__construct ( string $name, string $stability, string $channel, Horde_Pear_Remote $remote, Horde_Http_Client $client, Components_Config $config, Components_Component_Factory $factory ) | Constructor. | |
getChannel ( ) : string | Return the channel of the component. | |
getData ( ) : array | Return a data array with the most relevant information about this component. | |
getDependencies ( ) : array | Return the dependencies for the component. | |
getName ( ) : string | Return the name of the component. | |
getPreviousVersion ( ) : string | Returns the previous version of the component. | |
getVersion ( ) : string | Return the version of the component. | |
install ( Components_Pear_Environment $env, array $options = [], string $reason = '' ) : null | Install a component. | |
placeArchive ( string $destination, array $options = [] ) : array | Place the component source archive at the specified location. |
Method | Description | |
---|---|---|
getPackageXml ( ) : Horde_Pear_Package_Xml | Return a PEAR package representation for the component. |
Method | Description | |
---|---|---|
_getDownloadUri ( ) : string | Return the download URI of the component. |
public __construct ( string $name, string $stability, string $channel, Horde_Pear_Remote $remote, Horde_Http_Client $client, Components_Config $config, Components_Component_Factory $factory ) | ||
$name | string | Component name. |
$stability | string | Component stability. |
$channel | string | Component channel. |
$remote | Horde_Pear_Remote | Remote channel handler. |
$client | Horde_Http_Client | The HTTP client for remote access. |
$config | Components_Config | The configuration for the current job. |
$factory | Components_Component_Factory | Generator for additional helpers. |
public getChannel ( ) : string | ||
return | string | The component channel. |
public getDependencies ( ) : array | ||
return | array | The component dependencies. |
protected getPackageXml ( ) : Horde_Pear_Package_Xml | ||
return | Horde_Pear_Package_Xml | The package representation. |
public getPreviousVersion ( ) : string | ||
return | string | The previous component version. |
public getVersion ( ) : string | ||
return | string | The component version. |
public placeArchive ( string $destination, array $options = [] ) : array | ||
$destination | string | The path to write the archive to. |
$options | array | Options for the operation. |
return | array | An array with at least [0] the path to the resulting archive, optionally [1] an array of error strings, and [2] PEAR output. |