API17

Difference between revisions of "JModelForm::loadFormData"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
m (preparing for archive only)
 
(6 intermediate revisions by 2 users not shown)
Line 4: Line 4:
 
Method to get the data that should be injected in the form.  
 
Method to get the data that should be injected in the form.  
  
{{Description:JModelForm::loadFormData}}
+
 
<span class="editsection" style="font-size:76%;">
+
 
<nowiki>[</nowiki>[[Description:JModelForm::loadFormData|Edit Descripton]]<nowiki>]</nowiki>
 
</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
 
===Referenced by===
 
 
===See also===
 
===See also===
<span class="editsection" style="font-size:76%;">
+
* {{JVer|11.1}} '''JModelForm::loadFormData source code''' on [[jplatform:application/component/modelform.php#cl-165|BitBucket]]
<nowiki>[</nowiki>[[SeeAlso:JModelForm::loadFormData|Edit See Also]]<nowiki>]</nowiki>
+
* {{JVer|11.1}} Class [[API17:JModelForm|JModelForm]]
</span>
+
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Application|Application]]
* [[JModelForm/11.1|JModelForm]]
+
* [[API17:JModelForm::loadFormData|Other versions of JModelForm::loadFormData]]
* [[JModelForm::loadFormData|Other versions of this method]]
+
 
{{SeeAlso:JModelForm::loadFormData}}
+
 
===Examples===
+
===User contributed notes===
<CodeExamplesForm />
+
=== Code Examples ===
 
<dpl>
 
<dpl>
 
noresultsheader=\n
 
noresultsheader=\n
 
category=JModelForm::loadFormData
 
category=JModelForm::loadFormData
category=CodeExample
+
namespace=CodeExample
 
category=MethodExample
 
category=MethodExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:JModelForm]][[Category:JModelForm::loadFormData]]</noinclude>
+
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 22:28, 24 March 2017

The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Joomla 11.1 JModelForm::loadFormData[edit]

Description[edit]

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


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[edit]


User contributed notes[edit]

Code Examples[edit]