API16

API16:JCategories/root

From Joomla! Documentation

Description

Return the root or null


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

Syntax

root()


Returns

JCategoryNode|null

Defined in

libraries/joomla/application/categories.php

Importing

jimport( 'joomla.application.categories' );

Source Body

public function root()
{
        return $this->node('root');
}


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

Examples

Code Examples