PHP Class Horde_Cli_Modular_ModuleProvider, 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.
Datei anzeigen Open project: horde/horde Class Usage Examples

Public Methods

Method Description
__construct ( array $parameters = null ) Constructor.
getModule ( string $module ) : Horde_Cli_Modular_Module Return the specified module.

Protected Methods

Method Description
createModule ( string $module ) : Horde_Cli_Modular_Module Create the specified module.

Method Details

__construct() public method

Constructor.
public __construct ( array $parameters = null )
$parameters array Options for this instance.
 - prefix: The module class name prefix.
 - dependencies: Constructor argument for CLI modules.

createModule() protected method

Create the specified module.
protected createModule ( string $module ) : Horde_Cli_Modular_Module
$module string The desired module.
return Horde_Cli_Modular_Module The module instance.

getModule() public method

Return the specified module.
public getModule ( string $module ) : Horde_Cli_Modular_Module
$module string The desired module.
return Horde_Cli_Modular_Module The module instance.