API16

API16:JSimpleXMLElement/level

From Joomla! Documentation

Description

Get the level of the element



Syntax

level()


Returns

int

Defined in

libraries/joomla/utilities/simplexml.php

Importing

jimport( 'joomla.utilities.simplexml' );

Source Body

function level() {
        return $this->_level;
}



Examples

Code Examples