API15

API15:JCategoryNode/getParent

From Joomla! Documentation

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

Description

Returns the parent category of the current category JCategoryNode


[<! removed edit link to red link >]

<! removed transcluded page call, red link never existed >

Syntax

getParent()


Returns

Defined in

libraries/joomla/application/categories.php

Importing

jimport( 'joomla.application.categories' );

Source Body

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

[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >

Examples

Code Examples