JModelForm::preprocessForm: Difference between revisions
From Joomla! Documentation
Bulk upload by Doxiki2 |
Layout updates |
||
| Line 12: | Line 12: | ||
===Synopsis=== | ===Synopsis=== | ||
<source lang="php"> | <source lang="php"> | ||
protected | 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
JModelForm::preprocessForm
Description
Method to allow derived classes to preprocess the form.
Template:Description:JModelForm::preprocessForm [Edit Descripton]
Since
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)
- see source code in BitBucket
Referenced by
See also
Template:SeeAlso:JModelForm::preprocessForm
Examples
<CodeExamplesForm />