API17

JModelForm::preprocessForm: Difference between revisions

From Joomla! Documentation

Doxiki2 (talk | contribs)
Bulk upload by Doxiki2
 
Doxiki2 (talk | contribs)
Layout updates
Line 12: Line 12:
===Synopsis===
===Synopsis===
<source lang="php">
<source lang="php">
protected JModelForm->preprocessForm (JForm $form, $data, $group= 'content')
protected JModelForm::preprocessForm (JForm $form, $data, $group= 'content')
</source>
</source>
{| class="wikitable"
{| class="wikitable"
Line 40: Line 40:


===Defined in===
===Defined in===
libraries/joomla/application/component/modelform.php
libraries/joomla/application/component/modelform.php (line 187)
* see source code in [[jplatform:application/component/modelform.php#cl-187|BitBucket]]
===Referenced by===
===Referenced by===
===See also===
===See also===

Revision as of 01:59, 24 April 2011

Joomla 11.1 JModelForm::preprocessForm

Description

Method to allow derived classes to preprocess the form.

Template:Description:JModelForm::preprocessForm [Edit Descripton]

Since

Joomla 11.1

Synopsis

protected JModelForm::preprocessForm (JForm $form, $data, $group= 'content')
Parameter Type Default Description
$form Exception if there is an error in the form event.
$data mixed The data expected for the form.
$group string 'content' The name of the plugin group to import (defaults to "content").

Returns

Defined in

libraries/joomla/application/component/modelform.php (line 187)

Referenced by

See also

[Edit See Also]

Template:SeeAlso:JModelForm::preprocessForm

Examples

<CodeExamplesForm />