PHP Class Components_Configs, horde

Copyright 2009-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 Components_Config_Base
Exibir arquivo Open project: horde/horde Class Usage Examples

Public Methods

Method Description
__construct ( ) Constructor.
addConfigurationType ( Components_Config $type ) : null Add a configuration type to the configuration handler.
getArguments ( ) : array Return the arguments provided by the configuration handlers.
getOptions ( ) : array Return the options provided by the configuration handlers.
handleModules ( Components_Modules $modules ) : null Provide each configuration handler with the list of supported modules.
unshiftConfigurationType ( Components_Config $type ) : null Store a configuration type at the start of the configuration stack. Any options provided by the new configuration can/will be overridden by configurations already present.

Method Details

__construct() public method

Constructor.
public __construct ( )

addConfigurationType() public method

Add a configuration type to the configuration handler.
public addConfigurationType ( Components_Config $type ) : null
$type Components_Config The configuration type.
return null

getArguments() public method

Return the arguments provided by the configuration handlers.
public getArguments ( ) : array
return array An array of arguments.

getOptions() public method

Return the options provided by the configuration handlers.
public getOptions ( ) : array
return array An array of options.

handleModules() public method

Provide each configuration handler with the list of supported modules.
public handleModules ( Components_Modules $modules ) : null
$modules Components_Modules A list of modules.
return null

unshiftConfigurationType() public method

Store a configuration type at the start of the configuration stack. Any options provided by the new configuration can/will be overridden by configurations already present.
public unshiftConfigurationType ( Components_Config $type ) : null
$type Components_Config The configuration type.
return null