Difference between revisions of "JSimpleXML"
From Joomla! Documentation
m (moving preparation) |
m (clean up) |
||
Line 2: | Line 2: | ||
=={{JVer|11.1}} JSimpleXML== | =={{JVer|11.1}} JSimpleXML== | ||
===Description=== | ===Description=== | ||
− | {{Description:JSimpleXML}} | + | {{subst:Description:JSimpleXML}} |
− | + | ||
− | |||
− | |||
===Methods=== | ===Methods=== | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
Line 70: | Line 68: | ||
* {{JVer|11.1}} Subpackage [[API17:Subpackage Utilities|Utilities]] | * {{JVer|11.1}} Subpackage [[API17:Subpackage Utilities|Utilities]] | ||
* [[API17:JSimpleXML|Other versions of JSimpleXML]] | * [[API17:JSimpleXML|Other versions of JSimpleXML]] | ||
− | {{SeeAlso:JSimpleXML}} | + | {{subst:SeeAlso:JSimpleXML}} |
− | + | ||
− | |||
− | |||
===User contributed notes=== | ===User contributed notes=== | ||
<CodeExamplesForm /> | <CodeExamplesForm /> |
Revision as of 11:08, 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.
JSimpleXML[edit]
Description[edit]
{{subst:Description:JSimpleXML}}
Methods[edit]
Visibility | Method name | Description |
---|---|---|
public | __construct | Constructor. |
public | getParser | Get the parser. |
public | importDOM | Get a object from a DOM node. |
public | loadFile | Interprets an XML file into an object. |
public | loadString | Interprets a string of XML into an object. |
public | setParser | Set the parser. |
protected | _characterData | Handler function for the character data within a tag. |
protected | _endElement | Handler function for the end of a tag. |
protected | _getStackLocation | Gets the reference to the current direct parent. |
protected | _handleError | Handles an XML parsing error. |
protected | _parse | Start parsing an XML document. |
protected | _startElement | Handler function for the start of a tag. |
- Defined in libraries/joomla/utilities/simplexml.php
- Extends JObject
Importing[edit]
jimport( 'joomla.utilities.simplexml' );
See also[edit]
- JSimpleXML source code on BitBucket
- Subpackage Utilities
- Other versions of JSimpleXML
{{subst:SeeAlso:JSimpleXML}}
User contributed notes[edit]
<CodeExamplesForm />