JForm::loadFile: Difference between revisions
From Joomla! Documentation
m clean up |
m preparing for archive only |
||
| Line 4: | Line 4: | ||
Method to load the form description from an XML file. | Method to load the form description from an XML file. | ||
<source lang="php"> | <source lang="php"> | ||
| Line 43: | Line 43: | ||
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Form|Form]] | * {{JVer|11.1}} Subpackage [[API17:Subpackage_Form|Form]] | ||
* [[API17:JForm::loadFile|Other versions of JForm::loadFile]] | * [[API17:JForm::loadFile|Other versions of JForm::loadFile]] | ||
===User contributed notes=== | ===User contributed notes=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JForm::loadFile | category=JForm::loadFile | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
Latest revision as of 03:04, 25 March 2017
JForm::loadFile
Description
Method to load the form description from an XML file.
public function loadFile (
$file
$reset=true
$xpath=false
)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $file | |||
| $reset | true | ||
| $xpath | false |
- Returns
- Defined on line 689 of libraries/joomla/form/form.php
See also
JForm::loadFile source code on BitBucket
Class JForm
Subpackage Form- Other versions of JForm::loadFile
User contributed notes
Code Examples