API17

API17:JModelForm::getForm

From Joomla! Documentation

Joomla 11.1 JModelForm::getForm

Description

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 Joomla 11.1

See also


User contributed notes

Code Examples