API17:JModelForm::preprocessForm
From Joomla! Documentation
(Difference between revisions)
(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 20:59, 23 April 2011
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::preprocessForm
Description
Method to allow derived classes to preprocess the form.
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
SeeAlso:JModelForm::preprocessForm
Examples
<CodeExamplesForm />
