API16

Difference between revisions of "JSimpleXML/importDOM"

From Joomla! Documentation

< API16:JSimpleXML
m (clean up)
m (preparing for archive only)
 
Line 4: Line 4:
  
  
{{subst:Description:JSimpleXML/importDOM}}
+
 
  
 
===Syntax===
 
===Syntax===
Line 40: Line 40:
  
  
{{subst:SeeAlso:JSimpleXML/importDOM}}
+
 
  
 
===Examples===
 
===Examples===
<CodeExamplesForm />
+
=== Code Examples ===
 
<dpl>
 
<dpl>
 
  noresultsheader=\n
 
  noresultsheader=\n
 
  category=importDOM
 
  category=importDOM
 
  category=JSimpleXML
 
  category=JSimpleXML
  category=CodeExample
+
  namespace=CodeExample
 
  category=MethodExample
 
  category=MethodExample
 
  include=*
 
  include=*
 
  format= ,,,
 
  format= ,,,
 
</dpl>
 
</dpl>

Latest revision as of 21:06, 24 March 2017

The "API16" 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.

Description[edit]

Get a JSimpleXMLElement object from a DOM node.



Syntax[edit]

importDOM($node, $classname=null)
Parameter Name Default Value Description
$node DOM document
$classname null currently ignored

Returns[edit]

object

Defined in[edit]

libraries/joomla/utilities/simplexml.php

Importing[edit]

jimport( 'joomla.utilities.simplexml' );

Source Body[edit]

function importDOM($node, $classname = null) {
        return false;
}



Examples[edit]

Code Examples[edit]