JSimpleXML::loadFile: Difference between revisions
From Joomla! Documentation
Bulk upload by Doxiki2 |
m preparing for archive only |
||
| (6 intermediate revisions by 2 users not shown) | |||
| Line 4: | Line 4: | ||
Interprets an XML file into an object. | Interprets an XML file into an object. | ||
<source lang="php"> | <source lang="php"> | ||
public | public function loadFile ( | ||
$path | |||
$classname=null | |||
) | |||
</source> | </source> | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 30: | Line 30: | ||
|- | |- | ||
|} | |} | ||
=== | * '''Returns''' | ||
* '''Defined''' on line 164 of libraries/joomla/utilities/simplexml.php | |||
===See also=== | |||
* {{JVer|11.1}} '''JSimpleXML::loadFile source code''' on [[jplatform:utilities/simplexml.php#cl-156|BitBucket]] | |||
* {{JVer|11.1}} Class [[API17:JSimpleXML|JSimpleXML]] | |||
* {{JVer|11.1}} Subpackage [[API17:Subpackage_Utilities|Utilities]] | |||
* [[API17:JSimpleXML::loadFile|Other versions of JSimpleXML::loadFile]] | |||
===User contributed notes=== | |||
=== | === Code Examples === | ||
=== | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JSimpleXML::loadFile | category=JSimpleXML::loadFile | ||
namespace=CodeExample | |||
category=MethodExample | category=MethodExample | ||
include=* | include=* | ||
namespace=CodeExample | |||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
<noinclude>[[Category: | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> | ||
Latest revision as of 03:43, 25 March 2017
JSimpleXML::loadFile
Description
Interprets an XML file into an object.
public function loadFile (
$path
$classname=null
)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $path | |||
| $classname | null |
- Returns
- Defined on line 164 of libraries/joomla/utilities/simplexml.php
See also
JSimpleXML::loadFile source code on BitBucket
Class JSimpleXML
Subpackage Utilities- Other versions of JSimpleXML::loadFile
User contributed notes
Code Examples