Difference between revisions of "JModelForm::loadForm"

From Joomla! Documentation

(Updated to r1448:247ba8d88526)
m (JoomlaWikiBot moved page JModelForm::loadForm/11.1 to API17:JModelForm::loadForm without leaving a redirect: Robot: Moved page)
(No difference)

Revision as of 18:49, 10 May 2013

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::loadForm


Method to get a form object.

Description:JModelForm::loadForm [Edit Descripton]

protected function loadForm (
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

SeeAlso:JModelForm::loadForm [Edit See Also]

User contributed notes

<CodeExamplesForm />