[ Index ] |
PHP Cross Reference of phpBB-3.3.14-deutsch |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 129 lines (3 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
InputArgument:: (7 methods):
__construct()
getName()
isRequired()
isArray()
setDefault()
getDefault()
getDescription()
Class: InputArgument - X-Ref
Represents a command line argument.__construct($name, $mode = null, $description = '', $default = null) X-Ref |
param: string $name The argument name param: int|null $mode The argument mode: self::REQUIRED or self::OPTIONAL param: string $description A description text param: string|string[]|null $default The default value (for self::OPTIONAL mode only) |
getName() X-Ref |
Returns the argument name. return: string The argument name |
isRequired() X-Ref |
Returns true if the argument is required. return: bool true if parameter mode is self::REQUIRED, false otherwise |
isArray() X-Ref |
Returns true if the argument can take multiple values. return: bool true if mode is self::IS_ARRAY, false otherwise |
setDefault($default = null) X-Ref |
Sets the default value. param: string|string[]|null $default The default value |
getDefault() X-Ref |
Returns the default value. return: string|string[]|null The default value |
getDescription() X-Ref |
Returns the description text. return: string The description text |
Generated: Mon Nov 25 19:05:08 2024 | Cross-referenced by PHPXref 0.7.1 |