PHP 인터페이스 Horde_Cli_Modular_Module, horde

파일 보기 프로젝트 열기: horde/horde

공개 메소드들

메소드 설명
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.