Actions

API17

Difference between revisions of "JModelForm::validate"

From Joomla! Documentation

m (clean up, fixing JVer template call)
m (JoomlaWikiBot moved page JModelForm::validate/11.1 to API17:JModelForm::validate without leaving a redirect: Robot: Moved page)

Revision as of 19:49, 10 May 2013

Replacement filing cabinet.png
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.

Joomla 11.1 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 Joomla 11.1

See also

SeeAlso:JModelForm::validate [Edit See Also]

User contributed notes

<CodeExamplesForm />