API17

Difference between revisions of "JModelForm::getForm"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Layout updates)
Line 12: Line 12:
 
===Synopsis===
 
===Synopsis===
 
<source lang="php">
 
<source lang="php">
public JModelForm->getForm ($data=array(), $loadData=true)
+
public JModelForm::getForm ($data=array(), $loadData=true)
 
</source>
 
</source>
 
{| class="wikitable"
 
{| class="wikitable"
Line 35: Line 35:
 
mixed A  object on success, false on failure
 
mixed A  object on success, false on failure
 
===Defined in===
 
===Defined in===
libraries/joomla/application/component/modelform.php
+
libraries/joomla/application/component/modelform.php (line 109)
 +
* see source code in [[jplatform:application/component/modelform.php#cl-109|BitBucket]]
 
===Referenced by===
 
===Referenced by===
 
===See also===
 
===See also===

Revision as of 20:59, 23 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.

Joomla 11.1 JModelForm::getForm[edit]

Description[edit]

Abstract method for getting the form from the model.

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

Since[edit]

Joomla 11.1

Synopsis[edit]

public JModelForm::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[edit]

mixed A object on success, false on failure

Defined in[edit]

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

Referenced by[edit]

See also[edit]

[Edit See Also]

Template:SeeAlso:JModelForm::getForm

Examples[edit]

<CodeExamplesForm />