Class: Console_CommandLine_Element
Source Location: /Console_CommandLine-1.0.2/CommandLine/Element.php
Class that represent a command line element (an option, or an argument).
Author(s):
Version:
Copyright:
Child classes:
Inherited Variables
Inherited Methods
Class Details
[line 36]
Class that represent a command line element (an option, or an argument).
Class Variables
$description =
[line 63]
The element description.
$help_name =
[line 55]
The name of variable displayed in the usage message, if no set it defaults to the "name" property.
$name =
[line 46]
The element name.
Method Detail
__construct (Constructor) [line 76]
Console_CommandLine_Element __construct(
[string
$name = null], [array
$params = array()])
Constructor.
Overridden in child classes as:
- Console_CommandLine_Option::__construct()
- Constructor.
Parameters:
string
$name
—
the name of the element
array
$params
—
an optional array of parameters
toString [line 95]
validate [line 108]
Documentation generated on 2019年3月11日 15:25:11 -0400 by
phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.