Свойство | Type | Description | |
---|---|---|---|
$_modules | Horde_Cli_Modular_Modules | Handler for the list of modules. | |
$_parameters | array | Parameters. | |
$_provider | Horde_Cli_Modular_ModuleProvider | Module provider. |
Méthode | Description | |
---|---|---|
__construct ( array $parameters = null ) | Constructor. | |
createParser ( ) : Horde_Argv_Parser | Create the parser for command line arguments. | |
getModules ( ) : Horde_Cli_Modular_Modules | Return the module handler. | |
getParserClass ( ) : string | Return the class name for the parser that should be used. | |
getProvider ( ) : Horde_Cli_Modular_ModuleProvider | Return the module provider. | |
getUsage ( ) : string | Return the usage description for the help output of the parser. |
Méthode | Description | |
---|---|---|
_createModules ( ) : Horde_Cli_Modular_Modules | Create the module handler. | |
_createProvider ( ) : Horde_Cli_Modular_ModuleProvider | Create the module provider. |
public __construct ( array $parameters = null ) | ||
$parameters | array | Options for this instance. - parser - class: Class name of the parser that should be used to parse command line arguments. Defaults to 'Horde_Argv_Parser'. - usage: The usage decription shown in the help output of the CLI - modules: Determines the handler for modules. Can be one of: (array) A parameter array. See Horde_Cli_Modular_Modules::__construct() (string) A class name. (object) An instance of Horde_Cli_Modular_Modules - provider: Determines the module provider. Can be one of: (array) A parameter array. See Horde_Cli_Modular_ModuleProvider::__construct() (string) A class name. (object) An instance of Horde_Cli_Modular_ModuleProvider |
protected _createModules ( ) : Horde_Cli_Modular_Modules | ||
Résultat | Horde_Cli_Modular_Modules | The module handler. |
protected _createProvider ( ) : Horde_Cli_Modular_ModuleProvider | ||
Résultat | Horde_Cli_Modular_ModuleProvider | The module provider. |
public createParser ( ) : Horde_Argv_Parser | ||
Résultat | Horde_Argv_Parser | The parser. |
public getModules ( ) : Horde_Cli_Modular_Modules | ||
Résultat | Horde_Cli_Modular_Modules | The module handler. |
public getParserClass ( ) : string | ||
Résultat | string | The class name. |
public getProvider ( ) : Horde_Cli_Modular_ModuleProvider | ||
Résultat | Horde_Cli_Modular_ModuleProvider | The module provider. |
protected Horde_Cli_Modular_Modules $_modules | ||
Résultat | Horde_Cli_Modular_Modules |