|
| __construct (Action &$action) |
|
| getUsage () |
|
| __construct () |
|
| setText ($text) |
|
| setDefinitionText ($text) |
|
| addHidden ($argName, $argDefinition) |
|
| addHiddenParameter ($argName, $argDefinition) |
|
| addNeeded ($argName, $argDefinition, array $restriction=null) |
|
| addRequiredParameter ($argName, $argDefinition, $restriction=null) |
|
| addOption ($argName, $argDefinition, array $restriction=null, $default=null) |
|
| addOptionalParameter ($argName, $argDefinition, $restriction=null, $default=null) |
|
| addEmpty ($argName, $argDefinition="") |
|
| addEmptyParameter ($argName, $argDefinition="") |
|
| getUsage () |
|
| exitError ($error= '') |
|
| strict ($strict=true) |
| if false additionnal arguments are ignored, default is true More...
|
|
| setStrictMode ($strict=true) |
| if false additionnal arguments are ignored, default is true More...
|
|
| verify ($useException=false) |
|
Verify arguments for action function.
Verify arguments for action function
$usage->setDescriptionText(
"Refresh documents ");
$usage->addRequiredParameter(
"famid",
"the family filter");
$usage->addOptionalParameter(
"revision",
"use all revision - default is no", array(
"yes",
"no"
));
$usage->addOptionalParameter(
"save",
"use modify default is light", array(
"complete",
"light",
"none"
));
Definition at line 27 of file Class.ActionUsage.php.