Console_Getargs
[
class tree: Console_Getargs
] [
index: Console_Getargs
] [
all elements
]
Packages:
Console_Getargs
Classes:
Console_Getargs
Console_Getargs_Options
Files:
example.php
example2.php
Getargs.php
Element index for package Console_Getargs
[
c
] [
e
] [
f
] [
g
] [
i
]
c
checkRequired
in file Getargs.php, method
Console_Getargs_Options::checkRequired()
checkRequired
Console_Getargs
in file Getargs.php, class
Console_Getargs
Command-line arguments parsing class
CONSOLE_GETARGS_ERROR_CONFIG
in file Getargs.php, constant
CONSOLE_GETARGS_ERROR_CONFIG
Wrong configuration
CONSOLE_GETARGS_ERROR_USER
in file Getargs.php, constant
CONSOLE_GETARGS_ERROR_USER
User made an error
CONSOLE_GETARGS_HELP
in file Getargs.php, constant
CONSOLE_GETARGS_HELP
Help text wanted
Console_Getargs_Options
in file Getargs.php, class
Console_Getargs_Options
This class implements a wrapper to the command line options and arguments.
CONSOLE_GETARGS_PARAMS
in file Getargs.php, constant
CONSOLE_GETARGS_PARAMS
Option name for application "parameters"
top
e
example.php
procedural page
example.php
example2.php
procedural page
example2.php
top
f
factory
in file Getargs.php, method
Console_Getargs::factory()
Factory creates a new
Console_Getargs_Options
object
top
g
Getargs.php
procedural page
Getargs.php
getHelp
in file Getargs.php, method
Console_Getargs::getHelp()
Returns an ascii art version of the help
getOptionalRequired
in file Getargs.php, method
Console_Getargs::getOptionalRequired()
Parse the config array to determine which flags are optional and which are required.
getValue
in file Getargs.php, method
Console_Getargs_Options::getValue()
Returns the argument of the given option
getValues
in file Getargs.php, method
Console_Getargs_Options::getValues()
Returns all arguments that have been parsed and recognized
top
i
isDefined
in file Getargs.php, method
Console_Getargs_Options::isDefined()
Checks whether the given option is defined
top
Documentation generated on Mon, 11 Mar 2019 15:40:07 -0400 by
phpDocumentor 1.4.4
. PEAR Logo Copyright © PHP Group 2004.