[
class tree:
] [
index:
] [
all elements
]
Packages:
Console_Getargs
Index of all elements
[
c
] [
d
] [
e
] [
f
] [
g
] [
] [
s
]
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"
countLines
in file example2.php, method
Example::countLines()
Return the number of lines in the file.
top
d
$debug
in file example2.php, variable
Example::$debug
Show debug output.
display
in file example2.php, method
Example::display()
The method for displaying the results.
top
e
example.php
procedural page
example.php
example2.php
procedural page
example2.php
Example
in file example2.php, method
Example::Example()
Constructor.
Example
in file example2.php, class
Example
Dummy class for example.
top
f
$file
in file example2.php, variable
Example::$file
The complete path to the file to count lines in.
$findWords
in file example2.php, variable
Example::$findWords
The words to find and highlight.
factory
in file Getargs.php, method
Console_Getargs::factory()
Factory creates a new
Console_Getargs_Options
object
find
in file example2.php, method
Example::find()
Highlight the requested words.
top
g
Getargs.php
procedural page
Getargs.php
getConfigArray
in file example2.php, method
Example::getConfigArray()
Return the config array.
getFirstXLines
in file example2.php, method
Example::getFirstXLines()
Return the requested number of lines.
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
s
$showLines
in file example2.php, variable
Example::$showLines
How many lines to show.
top
v
$verbose
in file example2.php, variable
Example::$verbose
The level of chattyness.
top
Documentation generated on Mon, 11 Mar 2019 15:40:07 -0400 by
phpDocumentor 1.4.4
. PEAR Logo Copyright © PHP Group 2004.