PHP Class Components_Helper_Installer, horde

Copyright 2010-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.
Mostrar archivo Open project: horde/horde Class Usage Examples

Public Methods

Method Description
__construct ( Components_Output $output ) Constructor.
installTree ( Components_Pear_Environment $environment, Components_Component $component, array $options = [], string $reason = '' ) : null Install a component with its dependencies into the environment.

Private Methods

Method Description
_deletePrevious ( $key, $options, $previous )
_getPerComponentOptions ( mixed $component, array $options ) : array Identify the per component options.
_installComponent ( Components_Pear_Environment $environment, Components_Component $component, array $options = [], string $reason = '' ) : null Ensure that the component is available within the installation environment.
_installDependencies ( Components_Pear_Environment $environment, Components_Component $component, array $options = [], string $reason = '' ) : null Install the dependencies of a component.

Method Details

__construct() public method

Constructor.
public __construct ( Components_Output $output )
$output Components_Output The output handler.

installTree() public method

Install a component with its dependencies into the environment.
public installTree ( Components_Pear_Environment $environment, Components_Component $component, array $options = [], string $reason = '' ) : null
$environment Components_Pear_Environment The environment we install into.
$component Components_Component The component that should be installed.
$options array Install options.
$reason string Optional reason for adding the package.
return null