JSimpleXML/1.5

From Joomla! Documentation
< JSimpleXML(Difference between revisions)
Jump to: navigation, search
(Bulk upload by Doxiki2)
 
(Layout updates)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 +
=={{JVer|1.5}} JSimpleXML==
 +
===Description===
 +
{{Description:JSimpleXML}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[Description:JSimpleXML|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JSimpleXML|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
{{Description:JSimpleXML}}
 
===Defined in===
 
libraries/joomla/utilities/simplexml.php
 
===Subpackage===
 
[[Subpackage Utilities/1.5|Utilities]]
 
===Extends===
 
[[JObject/1.5|JObject]]
 
===Extended by===
 
 
===Methods===
 
===Methods===
 
{| class="wikitable sortable"
 
{| class="wikitable sortable"
 
|-
 
|-
 +
!Visibility
 
!Method name
 
!Method name
 
!Description
 
!Description
 
|-
 
|-
 +
|public
 
|[[JSimpleXML::__construct/1.5|__construct]]
 
|[[JSimpleXML::__construct/1.5|__construct]]
 
|Constructor.  
 
|Constructor.  
 
|-
 
|-
 +
|public
 
|[[JSimpleXML::_characterData/1.5|_characterData]]
 
|[[JSimpleXML::_characterData/1.5|_characterData]]
 
|Handler function for the character data within a tag.  
 
|Handler function for the character data within a tag.  
 
|-
 
|-
 +
|public
 
|[[JSimpleXML::_endElement/1.5|_endElement]]
 
|[[JSimpleXML::_endElement/1.5|_endElement]]
 
|Handler function for the end of a tag.  
 
|Handler function for the end of a tag.  
 
|-
 
|-
 +
|public
 
|[[JSimpleXML::_getStackLocation/1.5|_getStackLocation]]
 
|[[JSimpleXML::_getStackLocation/1.5|_getStackLocation]]
 
|Gets the reference to the current direct parent.  
 
|Gets the reference to the current direct parent.  
 
|-
 
|-
 +
|public
 
|[[JSimpleXML::_handleError/1.5|_handleError]]
 
|[[JSimpleXML::_handleError/1.5|_handleError]]
 
|Handles an XML parsing error.  
 
|Handles an XML parsing error.  
 
|-
 
|-
 +
|public
 
|[[JSimpleXML::_parse/1.5|_parse]]
 
|[[JSimpleXML::_parse/1.5|_parse]]
 
|Start parsing an XML document.  
 
|Start parsing an XML document.  
 
|-
 
|-
 +
|public
 
|[[JSimpleXML::_startElement/1.5|_startElement]]
 
|[[JSimpleXML::_startElement/1.5|_startElement]]
 
|Handler function for the start of a tag.  
 
|Handler function for the start of a tag.  
 
|-
 
|-
 +
|public
 
|[[JSimpleXML::getParser/1.5|getParser]]
 
|[[JSimpleXML::getParser/1.5|getParser]]
 
|Get the parser.  
 
|Get the parser.  
 
|-
 
|-
 +
|public
 
|[[JSimpleXML::importDOM/1.5|importDOM]]
 
|[[JSimpleXML::importDOM/1.5|importDOM]]
 
|Get a  object from a DOM node.  
 
|Get a  object from a DOM node.  
 
|-
 
|-
 +
|public
 
|[[JSimpleXML::loadFile/1.5|loadFile]]
 
|[[JSimpleXML::loadFile/1.5|loadFile]]
 
|Interprets an XML file into an object.  
 
|Interprets an XML file into an object.  
 
|-
 
|-
 +
|public
 
|[[JSimpleXML::loadString/1.5|loadString]]
 
|[[JSimpleXML::loadString/1.5|loadString]]
 
|Interprets a string of XML into an object.  
 
|Interprets a string of XML into an object.  
 
|-
 
|-
 +
|public
 
|[[JSimpleXML::setParser/1.5|setParser]]
 
|[[JSimpleXML::setParser/1.5|setParser]]
 
|Set the parser.  
 
|Set the parser.  
 
|-
 
|-
 
|}
 
|}
 +
* '''Defined in''' libraries/joomla/utilities/simplexml.php
 +
* '''Extends''' [[JObject/1.5|JObject]]
 
===Importing===
 
===Importing===
 
<source lang="php">jimport( 'joomla.utilities.simplexml' );</source>
 
<source lang="php">jimport( 'joomla.utilities.simplexml' );</source>
 
===See also===
 
===See also===
 +
* {{JVer|1.5}} '''JSimpleXML''' on [http://api.joomla.org/Joomla-Framework/Utilities/JSimpleXML.html api.joomla.org]
 +
* {{JVer|1.5}} '''JSimpleXML source code''' on [[jframework15:utilities/simplexml.php|JoomlaCode]]
 +
* {{JVer|1.5}} Subpackage [[Subpackage Utilities/1.5|Utilities]]
 +
* [[JSimpleXML|Other versions of JSimpleXML]]
 +
{{SeeAlso:JSimpleXML}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JSimpleXML|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JSimpleXML|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
{{SeeAlso:JSimpleXML}}
+
===User contributed notes===
* [[JSimpleXML|Other versions of this class]]
+
* [http://api.joomla.org/Joomla-Framework/Utilities/JSimpleXML.html JSimpleXML on api.joomla.org]
+
===Examples===
+
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 71: Line 83:
 
category=ClassExample
 
category=ClassExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
 
<noinclude>[[Category:Framework]][[Category:Framework 1.5]][[Category:JSimpleXML]]</noinclude>
 
<noinclude>[[Category:Framework]][[Category:Framework 1.5]][[Category:JSimpleXML]]</noinclude>

Revision as of 18:13, 25 April 2011

Joomla 1.5 JSimpleXML

Description

Description:JSimpleXML [Edit Descripton]

Methods

Visibility Method name Description
public __construct Constructor.
public _characterData Handler function for the character data within a tag.
public _endElement Handler function for the end of a tag.
public _getStackLocation Gets the reference to the current direct parent.
public _handleError Handles an XML parsing error.
public _parse Start parsing an XML document.
public _startElement Handler function for the start of a tag.
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.
  • Defined in libraries/joomla/utilities/simplexml.php
  • Extends JObject

Importing

jimport( 'joomla.utilities.simplexml' );

See also

SeeAlso:JSimpleXML [Edit See Also]

User contributed notes

<CodeExamplesForm />


Personal tools
Namespaces

Variants
Actions
Navigation
Joomla! Sites
Toolbox