PHP Class Horde_Kolab_Cli_Module_List, 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.
Inheritance: implements Horde_Kolab_Cli_Module
Show file Open project: horde/horde

Public Methods

Method Description
getBaseOptions ( ) : array Get a set of base options that this module adds to the CLI argument parser.
getOptionGroupDescription ( ) : string Return the description for the option group representing this module.
getOptionGroupOptions ( ) : array Return the options for this module.
getOptionGroupTitle ( ) : string Return the title for the option group representing this module.
getUsage ( ) : string Get the usage description for this module.
handleArguments ( &$options, &$arguments, &$world ) : null Handle the options and arguments.
hasOptionGroup ( ) : boolean Indicate if the module provides an option group.
run ( Horde_Cli $cli, mixed $options, mixed $arguments, &$world ) : null Run the module.

Method Details

getBaseOptions() public method

Get a set of base options that this module adds to the CLI argument parser.
public getBaseOptions ( ) : array
return array The options.

getOptionGroupDescription() public method

Return the description for the option group representing this module.
public getOptionGroupDescription ( ) : string
return string The group description.

getOptionGroupOptions() public method

Return the options for this module.
public getOptionGroupOptions ( ) : array
return array The group options.

getOptionGroupTitle() public method

Return the title for the option group representing this module.
public getOptionGroupTitle ( ) : string
return string The group title.

getUsage() public method

Get the usage description for this module.
public getUsage ( ) : string
return string The description.

handleArguments() public method

Handle the options and arguments.
public handleArguments ( &$options, &$arguments, &$world ) : null
return null

hasOptionGroup() public method

Indicate if the module provides an option group.
public hasOptionGroup ( ) : boolean
return boolean True if an option group should be added.

run() public method

Run the module.
public run ( Horde_Cli $cli, mixed $options, mixed $arguments, &$world ) : null
$cli Horde_Cli The CLI handler.
$options mixed An array of options.
$arguments mixed An array of arguments.
return null