$_expected
$_expected : array
The list of expected variables.
An OO-way to access form variables.
getDefaultVariables(string $sanitize = false) : \Horde_Variables
Returns a Horde_Variables object populated with the form input.
string | $sanitize | Sanitize the input variables? |
Variables object.
__construct(array $vars = array(), string $sanitize = false)
Constructor.
array | $vars | The list of form variables (if null, defaults to PHP's $_REQUEST value). If '_formvars' exists, it must be a JSON encoded array that contains the list of allowed form variables. |
string | $sanitize | Sanitize the input variables? |
_getExists(array $array, string $varname, $value) : boolean
Fetch the requested variable ($varname) into $value, and return whether or not the variable was set in $array.
array | $array | The array to search in (usually either $this->_vars or $this->_expected). |
string | $varname | The name of the variable to look for. |
$value |
Whether or not the variable was set (or, if we've checked $this->_expected, should have been set).