API15

API15:JCategoryNode/getParent

From Joomla! Documentation

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