JModelForm::getForm
From Joomla! Documentation
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.
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
User contributed notes[edit]
Code Examples[edit]