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]
public function 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 on line 218 of libraries/joomla/application/component/modelform.php
- Since
See also
-
JModelForm::validate source code on BitBucket
-
Class JModelForm
-
Subpackage Application
- Other versions of JModelForm::validate
SeeAlso:JModelForm::validate [Edit See Also]
User contributed notes
<CodeExamplesForm />
