API17:JModelForm::validate
From Joomla! Documentation
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JModelForm::validate
Description
Method to validate the form data.
Description:JModelForm::validate [Edit Descripton]
Since
Synopsis
public JModelForm::validate ($form, $data)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $form | object | The form to validate against. | |
| $data | array | The data to validate. |
Returns
mixed Array of filtered data if valid, false otherwise.
Defined in
libraries/joomla/application/component/modelform.php (line 218)
- see source code in BitBucket
Referenced by
See also
Examples
<CodeExamplesForm />
