API16

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)

Defined in

libraries/joomla/utilities/xmlelement.php

Methods

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

jimport( 'joomla.utilities.xmlelement' );



Examples

Code Examples