API16

API16:JNode/getParent

From Joomla! Documentation

Description

Get the parent of this node



Syntax

& getParent()


Returns

JNode|null the parent

Defined in

libraries/joomla/base/node.php

Importing

jimport( 'joomla.base.node' );

Source Body

function &getParent() 
{
        return $this->_parent;
}



Examples

Code Examples