Actions

CodeExample

4d30818ae30fe

From Joomla! Documentation

Revision as of 12:02, 14 January 2011 by Elkuku (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Get the name of the document

demo.xml

<jdoc>
        <doku kategory="Info">Wiki</doku>
</jdoc>
<?php
 
$xml = JFactory::getXML('demo.xml');
 
echo $xml->name();

Output:

jdoc

Elkuku 11:02, 14 January 2011 (CST) Edit comment