JSimpleXML: Difference between revisions
From Joomla! Documentation
New page: <span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki>
</span>
{{Description:JSimpleXML}}
===Defined in===
... |
m clean up |
||
| Line 1: | Line 1: | ||
{{subst:Description:JSimpleXML}} | |||
{{Description:JSimpleXML}} | |||
===Defined in=== | ===Defined in=== | ||
| Line 34: | Line 31: | ||
<source lang="php">jimport( 'joomla.utilities.simplexml' );</source> | <source lang="php">jimport( 'joomla.utilities.simplexml' );</source> | ||
{{subst:SeeAlso:JSimpleXML}} | |||
{{SeeAlso:JSimpleXML}} | |||
===Examples=== | ===Examples=== | ||
Revision as of 14:25, 24 March 2017
{{subst:Description:JSimpleXML}}
Defined in
libraries/joomla/utilities/simplexml.php
Methods
| Method name | Description |
|---|---|
| __construct | Constructor. |
| loadString | Interprets a string of XML into an object |
| loadFile | Interprets an XML file into an object |
| importDOM | Get a JSimpleXMLElement object from a DOM node. |
| getParser | Get the parser |
| setParser | Set the parser |
Importing
jimport( 'joomla.utilities.simplexml' );
{{subst:SeeAlso:JSimpleXML}}
Examples
<CodeExamplesForm />