API16

JNode/getParent

From Joomla! Documentation

< API16:JNode

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.

Description[edit]

Get the parent of this node



Syntax[edit]

& getParent()


Returns[edit]

JNode|null the parent

Defined in[edit]

libraries/joomla/base/node.php

Importing[edit]

jimport( 'joomla.base.node' );

Source Body[edit]

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



Examples[edit]

Code Examples[edit]