Difference between revisions of "JModelForm::getForm"
From Joomla! Documentation
(Layout updates) |
(Updated to r1448:247ba8d88526) |
||
Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JModelForm::getForm|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JModelForm::getForm|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | |||
− | |||
− | |||
<source lang="php"> | <source lang="php"> | ||
− | public | + | public function getForm ( |
+ | $data=array | ||
+ | $loadData=true | ||
+ | ) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
Line 32: | Line 32: | ||
|- | |- | ||
|} | |} | ||
− | + | * '''Returns''' mixed A object on success, false on failure | |
− | mixed A object on success, false on failure | + | * '''Defined''' on line 109 of libraries/joomla/application/component/modelform.php |
− | + | * '''Since''' {{JVer|11.1 }} | |
− | libraries/joomla/application/component/modelform.php | ||
− | * | ||
− | |||
===See also=== | ===See also=== | ||
+ | * {{JVer|11.1}} '''JModelForm::getForm source code''' on [[jplatform:application/component/modelform.php#cl-101|BitBucket]] | ||
+ | * {{JVer|11.1}} Class [[JModelForm/11.1|JModelForm]] | ||
+ | * {{JVer|11.1}} Subpackage [[Subpackage_Application/11.1|Application]] | ||
+ | * [[JModelForm::getForm|Other versions of JModelForm::getForm]] | ||
+ | {{SeeAlso:JModelForm::getForm}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JModelForm::getForm|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JModelForm::getForm|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
− | + | ===User contributed notes=== | |
− | |||
− | |||
− | === | ||
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
Line 53: | Line 52: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
+ | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JModelForm]][[Category:JModelForm::getForm]]</noinclude> | <noinclude>[[Category:JModelForm]][[Category:JModelForm::getForm]]</noinclude> |
Revision as of 21:24, 27 April 2011
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.
JModelForm::getForm[edit]
Description[edit]
Abstract method for getting the form from the model.
Template:Description:JModelForm::getForm [Edit Descripton]
public function getForm (
$data=array
$loadData=true
)
Parameter | Type | Default | Description |
---|---|---|---|
$data | array | array() | Data for the form. |
$loadData | boolean | true | True if the form is to load its own data (default case), false if not. |
- Returns mixed A object on success, false on failure
- Defined on line 109 of libraries/joomla/application/component/modelform.php
- Since
See also[edit]
- JModelForm::getForm source code on BitBucket
- Class JModelForm
- Subpackage Application
- Other versions of JModelForm::getForm
Template:SeeAlso:JModelForm::getForm [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />