API16

JXMLElement

From Joomla! Documentation

Revision as of 02:17, 25 March 2017 by JoomlaWikiBot (talk | contribs) (preparing for archive only)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.

Defined in[edit]

libraries/joomla/utilities/xmlelement.php

Methods[edit]

Method name Description
name Get the name of the element. Warning: don't use getName() as it's broken up to php 5.2.3
data LEGACY - Gets the element 'data'.
getAttribute LEGACY - Gets an elements attribute by name.
asFormattedXML Return a well-formed XML string based on SimpleXML element

Importing[edit]

jimport( 'joomla.utilities.xmlelement' );



Examples[edit]

Code Examples[edit]