API17

JModelForm::loadForm: Difference between revisions

From Joomla! Documentation

m JoomlaWikiBot moved page JModelForm::loadForm/11.1 to API17:JModelForm::loadForm without leaving a redirect: Robot: Moved page
m →User contributed notes: moving preparation
Line 72: Line 72:
format= ,,,
format= ,,,
</dpl>
</dpl>
<noinclude>[[Category:JModelForm]][[Category:JModelForm::loadForm]]</noinclude>
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Revision as of 21:54, 11 May 2013

Joomla 11.1 JModelForm::loadForm

Description

Method to get a form object.

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

protected function loadForm (
        $name
        $source=null
        $options=array
        $clear=false
        $xpath=false
)
Parameter Type Default Description
$name string The name of the form.
$source string null The form source. Can be XML string if file flag is set to false.
$options array array() Optional array of options for the form creation.
$clear boolean false Optional argument to force load a new form.
$xpath string false An optional xpath to search for the fields.
  • Returns mixed object on success, False on error.
  • Defined on line 122 of libraries/joomla/application/component/modelform.php

See also

Template:SeeAlso:JModelForm::loadForm [Edit See Also]

User contributed notes

<CodeExamplesForm />