| Qvform::check |
( |
|
$field, |
|
|
|
$value = null |
|
) |
| |
Function used for setting the checked state for checkboxes. Returns true if the field value equals $val
- Parameters
-
| Qvform::get_from_post |
( |
| ) |
|
Get the data posted from a form.
Initialize fields to blank. Accepts a variable argument list
| Qvform::m_set |
( |
|
$model, |
|
|
|
$fields |
|
) |
| |
Set a list of fields from a model
- Parameters
-
| object | $model | |
| array | $fields | |
| Qvform::set |
( |
|
$fields, |
|
|
|
$value = '' |
|
) |
| |
Set the value of a field or fields. Also used to initialize/establish fields.
- Parameters
-
| Qvform::validation_errors |
( |
|
$prefix = '', |
|
|
|
$suffix = '' |
|
) |
| |
Return validation errors
- Parameters
-
| string | $prefix | |
| string | $suffix | |
| Qvform::value |
( |
|
$field, |
|
|
|
$index = null |
|
) |
| |
Return the current value of a field.
- Parameters
-
| string | array | $field | |
| int | $index | |
The documentation for this class was generated from the following file:
- qvci/libraries/Qvform.php