Library
Class

Library\CommandLine\Helper

class Helper

Methods

static  getopt(array $options)

static  getOptionMethod(array $options, $arg = null)

static  getOptionDescription($arg, $caller)

static  treatOptions(array $options, $caller)

static  getOptionHelp($arg, $caller)

static  getHelpInfo(array $options = array(), Formater $formater, $caller)

static  formatHelpString($title = null, $contents = null, Formater $formater)

Details

at line 37
static public getopt(array $options)

Parameters

array $options

at line 54
static public getOptionMethod(array $options, $arg = null)

Parameters

array $options
$arg

at line 67
static public getOptionDescription($arg, $caller)

Parameters

$arg
$caller

at line 88
static public treatOptions(array $options, $caller)

Parameters

array $options
$caller

at line 114
static public getOptionHelp($arg, $caller)

Parameters

$arg
$caller

at line 137
static public getHelpInfo(array $options = array(), Formater $formater, $caller)

Parameters

array $options
Formater $formater
$caller

at line 227
static public formatHelpString($title = null, $contents = null, Formater $formater)

Parameters

$title
$contents
Formater $formater