API16

JSimpleXML: Difference between revisions

From Joomla! Documentation

Doxiki (talk | contribs)
New page: <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki> </span> {{Description:JSimpleXML}} ===Defined in=== ...
 
m preparing for archive only
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>[[Description:JSimpleXML|Edit Descripton]]<nowiki>]</nowiki>
</span>
{{Description:JSimpleXML}}
===Defined in===
===Defined in===
libraries/joomla/utilities/simplexml.php
libraries/joomla/utilities/simplexml.php
Line 34: Line 29:
<source lang="php">jimport( 'joomla.utilities.simplexml' );</source>
<source lang="php">jimport( 'joomla.utilities.simplexml' );</source>


<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JSimpleXML|Edit See Also]]<nowiki>]</nowiki>
 
</span>
{{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