API15:JCategoryNode
From Joomla! Documentation
[Edit Descripton] Template:Description:JCategoryNode
Defined in
libraries/joomla/application/categories.php
Methods
| Method name | Description |
|---|---|
| __construct | Class constructor |
| addChild | Adds a child to the current element of the Categorytree |
| getParent | Returns the parent category of the current category JCategoryNode |
| setParent | Sets the parent for the current category |
| hasChildren | Returns true if the category has children boolean |
| getChildren | Returns the children of the Category array |
Importing
jimport( 'joomla.application.categories' );
[Edit See Also] Template:SeeAlso:JCategoryNode
Examples
<CodeExamplesForm />