API17

Difference between revisions of "JModelForm::preprocessForm"

From Joomla! Documentation

(Updated to r1448:247ba8d88526)
m (preparing for archive only)
 
(4 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
Method to allow derived classes to preprocess the form.  
 
Method to allow derived classes to preprocess the form.  
  
{{Description:JModelForm::preprocessForm}}
+
 
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[Description:JModelForm::preprocessForm|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
 
<source lang="php">
 
<source lang="php">
 
protected function preprocessForm (
 
protected function preprocessForm (
Line 43: Line 41:
 
===See also===
 
===See also===
 
* {{JVer|11.1}} '''JModelForm::preprocessForm source code''' on [[jplatform:application/component/modelform.php#cl-179|BitBucket]]
 
* {{JVer|11.1}} '''JModelForm::preprocessForm source code''' on [[jplatform:application/component/modelform.php#cl-179|BitBucket]]
* {{JVer|11.1}} Class [[JModelForm/11.1|JModelForm]]
+
* {{JVer|11.1}} Class [[API17:JModelForm|JModelForm]]
* {{JVer|11.1}} Subpackage [[Subpackage_Application/11.1|Application]]
+
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Application|Application]]
* [[JModelForm::preprocessForm|Other versions of JModelForm::preprocessForm]]
+
* [[API17:JModelForm::preprocessForm|Other versions of JModelForm::preprocessForm]]
{{SeeAlso:JModelForm::preprocessForm}}
+
 
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[SeeAlso:JModelForm::preprocessForm|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
 
===User contributed notes===
 
===User contributed notes===
<CodeExamplesForm />
+
=== Code Examples ===
 
<dpl>
 
<dpl>
 
noresultsheader=\n
 
noresultsheader=\n
 
category=JModelForm::preprocessForm
 
category=JModelForm::preprocessForm
category=CodeExample
+
namespace=CodeExample
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
Line 61: Line 57:
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:JModelForm]][[Category:JModelForm::preprocessForm]]</noinclude>
+
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 22:28, 24 March 2017

The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Joomla 11.1 JModelForm::preprocessForm[edit]

Description[edit]

Method to allow derived classes to preprocess the form.


protected function 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 on line 187 of libraries/joomla/application/component/modelform.php
  • Since Joomla 11.1

See also[edit]


User contributed notes[edit]

Code Examples[edit]