Difference between revisions of "JForm::getInstance"

From Joomla! Documentation

(Updated to r1448:247ba8d88526)
m (moving preparation)
(2 intermediate revisions by the same user not shown)
Line 54: Line 54:
* '''Since''' {{JVer|11.1 }}
* '''Since''' {{JVer|11.1 }}
* '''Referenced by'''
* '''Referenced by'''
** [[JModelForm::loadForm/11.1|JModelForm::loadForm]]
** [[API17:JModelForm::loadForm|JModelForm::loadForm]]
===See also===
===See also===
* {{JVer|11.1}} '''JForm::getInstance source code''' on [[jplatform:form/form.php#cl-1680|BitBucket]]
* {{JVer|11.1}} '''JForm::getInstance source code''' on [[jplatform:form/form.php#cl-1680|BitBucket]]
* {{JVer|11.1}} Class [[JForm/11.1|JForm]]
* {{JVer|11.1}} Class [[API17:JForm|JForm]]
* {{JVer|11.1}} Subpackage [[Subpackage_Form/11.1|Form]]
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Form|Form]]
* [[JForm::getInstance|Other versions of JForm::getInstance]]
* [[API17:JForm::getInstance|Other versions of JForm::getInstance]]
<span class="editsection" style="font-size:76%;">
<span class="editsection" style="font-size:76%;">
Line 75: Line 75:
format= ,,,
format= ,,,
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 20:43, 11 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 JForm::getInstance


Method to get an instance of a form.

Description:JForm::getInstance [Edit Descripton]

public static function getInstance (
Parameter Type Default Description
$name Exception if an error occurs.
$data string null The name of an XML file or string to load as the form definition.
$options array array() An array of form options.
$replace string true Flag to toggle whether form fields should be replaced if a field already exists with the same group/name.
$xpath string false An optional xpath to search for the fields.
  • Returns object instance.
  • Defined on line 1688 of libraries/joomla/form/form.php
  • Since Joomla 11.1
  • Referenced by

See also

  • Joomla 11.1 JForm::getInstance source code on BitBucket
  • Joomla 11.1 Class JForm
  • Joomla 11.1 Subpackage Form
  • Other versions of JForm::getInstance

SeeAlso:JForm::getInstance [Edit See Also]

User contributed notes

<CodeExamplesForm />