Difference between revisions of "JSimpleXML"
From Joomla! Documentation
m (→User contributed notes: bad link repair) |
m (moving preparation) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 14: | Line 14: | ||
|- | |- | ||
|public | |public | ||
− | |[[JSimpleXML::__construct | + | |[[API17:JSimpleXML::__construct|__construct]] |
|Constructor. | |Constructor. | ||
|- | |- | ||
|public | |public | ||
− | |[[JSimpleXML::getParser | + | |[[API17:JSimpleXML::getParser|getParser]] |
|Get the parser. | |Get the parser. | ||
|- | |- | ||
|public | |public | ||
− | |[[JSimpleXML::importDOM | + | |[[API17:JSimpleXML::importDOM|importDOM]] |
|Get a object from a DOM node. | |Get a object from a DOM node. | ||
|- | |- | ||
|public | |public | ||
− | |[[JSimpleXML::loadFile | + | |[[API17:JSimpleXML::loadFile|loadFile]] |
|Interprets an XML file into an object. | |Interprets an XML file into an object. | ||
|- | |- | ||
|public | |public | ||
− | |[[JSimpleXML::loadString | + | |[[API17:JSimpleXML::loadString|loadString]] |
|Interprets a string of XML into an object. | |Interprets a string of XML into an object. | ||
|- | |- | ||
|public | |public | ||
− | |[[JSimpleXML::setParser | + | |[[API17:JSimpleXML::setParser|setParser]] |
|Set the parser. | |Set the parser. | ||
|- | |- | ||
|protected | |protected | ||
− | |[[JSimpleXML::_characterData | + | |[[API17:JSimpleXML::_characterData|_characterData]] |
|Handler function for the character data within a tag. | |Handler function for the character data within a tag. | ||
|- | |- | ||
|protected | |protected | ||
− | |[[JSimpleXML::_endElement | + | |[[API17:JSimpleXML::_endElement|_endElement]] |
|Handler function for the end of a tag. | |Handler function for the end of a tag. | ||
|- | |- | ||
|protected | |protected | ||
− | |[[JSimpleXML::_getStackLocation | + | |[[API17:JSimpleXML::_getStackLocation|_getStackLocation]] |
|Gets the reference to the current direct parent. | |Gets the reference to the current direct parent. | ||
|- | |- | ||
|protected | |protected | ||
− | |[[JSimpleXML::_handleError | + | |[[API17:JSimpleXML::_handleError|_handleError]] |
|Handles an XML parsing error. | |Handles an XML parsing error. | ||
|- | |- | ||
|protected | |protected | ||
− | |[[JSimpleXML::_parse | + | |[[API17:JSimpleXML::_parse|_parse]] |
|Start parsing an XML document. | |Start parsing an XML document. | ||
|- | |- | ||
|protected | |protected | ||
− | |[[JSimpleXML::_startElement | + | |[[API17:JSimpleXML::_startElement|_startElement]] |
|Handler function for the start of a tag. | |Handler function for the start of a tag. | ||
|- | |- | ||
|} | |} | ||
* '''Defined in''' libraries/joomla/utilities/simplexml.php | * '''Defined in''' libraries/joomla/utilities/simplexml.php | ||
− | * '''Extends''' [[JObject | + | * '''Extends''' [[API17:JObject|JObject]] |
===Importing=== | ===Importing=== | ||
<source lang="php">jimport( 'joomla.utilities.simplexml' );</source> | <source lang="php">jimport( 'joomla.utilities.simplexml' );</source> | ||
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JSimpleXML source code''' on [[jplatform:utilities/simplexml.php|BitBucket]] | * {{JVer|11.1}} '''JSimpleXML source code''' on [[jplatform:utilities/simplexml.php|BitBucket]] | ||
− | * {{JVer|11.1}} Subpackage [[Subpackage Utilities | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage Utilities|Utilities]] |
− | * [[JSimpleXML|Other versions of JSimpleXML]] | + | * [[API17:JSimpleXML|Other versions of JSimpleXML]] |
{{SeeAlso:JSimpleXML}} | {{SeeAlso:JSimpleXML}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
Line 85: | Line 85: | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude> | + | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> |
Revision as of 21:32, 11 May 2013
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]
Template:Description:JSimpleXML [Edit Descripton]
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
Template:SeeAlso:JSimpleXML [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />