Actions

API17

Difference between revisions of "JModelForm::loadFormData"

From Joomla! Documentation

(Layout updates)
(Updated to r1448:247ba8d88526)
Line 8: Line 8:
 
<nowiki>[</nowiki>[[Description:JModelForm::loadFormData|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JModelForm::loadFormData|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Since===
 
{{JVer|11.1 }}
 
===Synopsis===
 
 
<source lang="php">
 
<source lang="php">
protected JModelForm::loadFormData ()
+
protected function loadFormData ()
 
</source>
 
</source>
===Returns===
+
* '''Returns''' array The default data is an empty array.
array The default data is an empty array.
+
* '''Defined''' on line 173 of libraries/joomla/application/component/modelform.php
===Defined in===
+
* '''Since''' {{JVer|11.1 }}
libraries/joomla/application/component/modelform.php (line 173)
+
* see source code in [[jplatform:application/component/modelform.php#cl-173|BitBucket]]
+
===Referenced by===
+
 
===See also===
 
===See also===
 +
* {{JVer|11.1}} '''JModelForm::loadFormData source code''' on [[jplatform:application/component/modelform.php#cl-165|BitBucket]]
 +
* {{JVer|11.1}} Class [[JModelForm/11.1|JModelForm]]
 +
* {{JVer|11.1}} Subpackage [[Subpackage_Application/11.1|Application]]
 +
* [[JModelForm::loadFormData|Other versions of JModelForm::loadFormData]]
 +
{{SeeAlso:JModelForm::loadFormData}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JModelForm::loadFormData|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JModelForm::loadFormData|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
* [[JModelForm/11.1|JModelForm]]
+
===User contributed notes===
* [[JModelForm::loadFormData|Other versions of this method]]
+
{{SeeAlso:JModelForm::loadFormData}}
+
===Examples===
+
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 35: Line 31:
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:JModelForm]][[Category:JModelForm::loadFormData]]</noinclude>
 
<noinclude>[[Category:JModelForm]][[Category:JModelForm::loadFormData]]</noinclude>

Revision as of 20:24, 27 April 2011

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

Description

Method to get the data that should be injected in the form.

Description:JModelForm::loadFormData [Edit Descripton]

protected function loadFormData ()
  • Returns array The default data is an empty array.
  • Defined on line 173 of libraries/joomla/application/component/modelform.php
  • Since Joomla 11.1

See also

SeeAlso:JModelForm::loadFormData [Edit See Also]

User contributed notes

<CodeExamplesForm />