Actions

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 19:59, 23 April 2011

Replacement filing cabinet.png
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.

Joomla 11.1 JModelForm::getForm

Description

Abstract method for getting the form from the model.

Description:JModelForm::getForm [Edit Descripton]

Since

Joomla 11.1

Synopsis

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

mixed A object on success, false on failure

Defined in

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

Referenced by

See also

[Edit See Also]

SeeAlso:JModelForm::getForm

Examples

<CodeExamplesForm />