Returns if the given variable name exists in form
boolean
contains
(string $varName)
-
string
$varName: Name of form variable
Constructor
void
Form
(array $formArray)
-
array
$formArray: Array of form fieds (typical $_GET, $_POST or $_REQUEST)
Gets value for given variable name
variant
get
(string $varName)
-
string
$varName: Name of form variable to get value for
Returns value array
array
&getValues
()
Deletes a form variable
void
remove
(string $varName)
-
string
$varName: Name of form variable to delete
Sets a field to given value
void
set
(string $varName, string $value)
-
string
$varName: Name of field to set
-
string
$value: Value to set field to