API16

API16:JNode/getParent

From Joomla! Documentation

Revision as of 01:55, 25 March 2017 by JoomlaWikiBot (talk | contribs) (preparing for archive only)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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