\Horde_Kolab_Cli_Module_Folder

The Horde_Kolab_Cli_Module_Folder:: class handles single folders.

Copyright 2010-2017 Horde LLC (http://www.horde.org/)

See the enclosed file LICENSE for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.

Summary

Methods
Properties
Constants
getUsage()
getBaseOptions()
hasOptionGroup()
getOptionGroupTitle()
getOptionGroupDescription()
getOptionGroupOptions()
handleArguments()
run()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
_showFolder()
No private properties found
N/A

Methods

getUsage()

getUsage() : string

Get the usage description for this module.

Returns

string —

The description.

getBaseOptions()

getBaseOptions() : array

Get a set of base options that this module adds to the CLI argument parser.

Returns

array —

The options.

hasOptionGroup()

hasOptionGroup() : boolean

Indicate if the module provides an option group.

Returns

boolean —

True if an option group should be added.

getOptionGroupTitle()

getOptionGroupTitle() : string

Return the title for the option group representing this module.

Returns

string —

The group title.

getOptionGroupDescription()

getOptionGroupDescription() : string

Return the description for the option group representing this module.

Returns

string —

The group description.

getOptionGroupOptions()

getOptionGroupOptions() : array

Return the options for this module.

Returns

array —

The group options.

handleArguments()

handleArguments(  $options,   $arguments,   $world) : NULL

Handle the options and arguments.

Parameters

$options
$arguments
$world

Returns

NULL

run()

run(\Horde_Cli  $cli, mixed  $options, mixed  $arguments,   $world) : NULL

Run the module.

Parameters

\Horde_Cli $cli

The CLI handler.

mixed $options

An array of options.

mixed $arguments

An array of arguments.

$world

Returns

NULL

_showFolder()

_showFolder(  $folder_name,   $world,   $cli) 

Parameters

$folder_name
$world
$cli