API16

JSimpleXML: Difference between revisions

From Joomla! Documentation

m clean up
m preparing for archive only
 
Line 1: Line 1:
{{subst:Description:JSimpleXML}}
===Defined in===
===Defined in===
libraries/joomla/utilities/simplexml.php
libraries/joomla/utilities/simplexml.php
Line 32: Line 30:




{{subst:SeeAlso:JSimpleXML}}
 


===Examples===
===Examples===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
  noresultsheader=\n
  noresultsheader=\n
  category=JSimpleXML
  category=JSimpleXML
  category=CodeExample
  namespace=CodeExample
  category=ClassExample
  category=ClassExample
  include=*
  include=*
  format= ,,,
  format= ,,,
</dpl>
</dpl>

Latest revision as of 02:06, 25 March 2017

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' );



Examples

Code Examples