API17:JForm::load
From Joomla! Documentation
(Difference between revisions)
(Layout updates) |
(Updated to r1448:247ba8d88526) |
||
| Line 8: | Line 8: | ||
<nowiki>[</nowiki>[[Description:JForm::load|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JForm::load|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | |||
<source lang="php"> | <source lang="php"> | ||
| − | public | + | public function load ( |
| + | $data | ||
| + | $replace=true | ||
| + | $xpath=false | ||
| + | ) | ||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 35: | Line 38: | ||
|- | |- | ||
|} | |} | ||
| − | + | * '''Returns''' | |
| − | + | * '''Defined''' on line 587 of libraries/joomla/form/form.php | |
| − | + | ||
| − | libraries/joomla/form/form.php | + | |
| − | + | ||
| − | + | ||
===See also=== | ===See also=== | ||
| + | * {{JVer|11.1}} '''JForm::load source code''' on [[jplatform:form/form.php#cl-579|BitBucket]] | ||
| + | * {{JVer|11.1}} Class [[JForm/11.1|JForm]] | ||
| + | * {{JVer|11.1}} Subpackage [[Subpackage_Form/11.1|Form]] | ||
| + | * [[JForm::load|Other versions of JForm::load]] | ||
| + | {{SeeAlso:JForm::load}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JForm::load|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JForm::load|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | + | ===User contributed notes=== | |
| − | + | ||
| − | + | ||
| − | === | + | |
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
| Line 56: | Line 57: | ||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
| + | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category:JForm]][[Category:JForm::load]]</noinclude> | <noinclude>[[Category:JForm]][[Category:JForm::load]]</noinclude> | ||
Revision as of 20:59, 27 April 2011
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.
JForm::load
Description
Method to load the form description from an XML string or object.
Description:JForm::load [Edit Descripton]
public function load ( $data $replace=true $xpath=false )
| Parameter | Type | Default | Description |
|---|---|---|---|
| $data | |||
| $replace | true | ||
| $xpath | false |
- Returns
- Defined on line 587 of libraries/joomla/form/form.php
See also
-
JForm::load source code on BitBucket
-
Class JForm
-
Subpackage Form
- Other versions of JForm::load
SeeAlso:JForm::load [Edit See Also]
User contributed notes
<CodeExamplesForm />
