API16

JCategories/root

From Joomla! Documentation

< API16:JCategories

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]

Return the root or null


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

Syntax[edit]

root()


Returns[edit]

JCategoryNode|null

Defined in[edit]

libraries/joomla/application/categories.php

Importing[edit]

jimport( 'joomla.application.categories' );

Source Body[edit]

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


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

Examples[edit]

Code Examples[edit]