Actions

API17

Difference between revisions of "JModelForm::validate"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Layout updates)
Line 12: Line 12:
 
===Synopsis===
 
===Synopsis===
 
<source lang="php">
 
<source lang="php">
public JModelForm->validate ($form, $data)
+
public JModelForm::validate ($form, $data)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 35: Line 35:
 
mixed Array of filtered data if valid, false otherwise.
 
mixed Array of filtered data if valid, false otherwise.
 
===Defined in===
 
===Defined in===
libraries/joomla/application/component/modelform.php
+
libraries/joomla/application/component/modelform.php (line 218)
 +
* see source code in [[jplatform:application/component/modelform.php#cl-218|BitBucket]]
 
===Referenced by===
 
===Referenced by===
 
===See also===
 
===See also===

Revision as of 20:59, 23 April 2011

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]

Since

Joomla 1.1

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)

Referenced by

See also

[Edit See Also]

SeeAlso:JModelForm::validate

Examples

<CodeExamplesForm />