PHP Интерфейс Horde_Cli_Modular_Module, horde

Автор: Gunnar Wrobel ([email protected])
Показать файл Открыть проект

Открытые методы

Метод Описание
getBaseOptions ( ) : array Returns a set of base options that this module adds to the CLI argument parser.
getOptionGroupDescription ( ) : string Returns the description for the option group representing this module.
getOptionGroupOptions ( ) : array Returns the options for this module.
getOptionGroupTitle ( ) : string Returns the title for the option group representing this module.
getUsage ( ) : string Returns additional usage description for this module.
hasOptionGroup ( ) : boolean Returns whether the module provides an option group.

Описание методов

getBaseOptions() публичный Метод

Returns a set of base options that this module adds to the CLI argument parser.
public getBaseOptions ( ) : array
Результат array Global options. A list of Horde_Argv_Option objects.

getOptionGroupDescription() публичный Метод

Returns the description for the option group representing this module.
public getOptionGroupDescription ( ) : string
Результат string The group description.

getOptionGroupOptions() публичный Метод

Returns the options for this module.
public getOptionGroupOptions ( ) : array
Результат array The group options. A list of Horde_Argv_Option objects.

getOptionGroupTitle() публичный Метод

Returns the title for the option group representing this module.
public getOptionGroupTitle ( ) : string
Результат string The group title.

getUsage() публичный Метод

This description will be added after the automatically generated usage line, so make sure to add any necessary line breaks or other separators.
public getUsage ( ) : string
Результат string The description.

hasOptionGroup() публичный Метод

Returns whether the module provides an option group.
public hasOptionGroup ( ) : boolean
Результат boolean True if an option group should be added.