API17:JCategoryNode
From Joomla! Documentation
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
[Edit Descripton] Description:JCategoryNode
Defined in
libraries/joomla/application/categories.php
- see source code in BitBucket
Subpackage
Extends
Extended by
Methods
| Method name | Description |
|---|---|
| __construct | Class constructor. |
| addChild | Add child to this node. |
| getAuthor | Returns the user that authored the category. |
| getChildren | Get the children of this node. |
| getMetadata | Returns the category metadata. |
| getNumItems | |
| getParams | Returns the category parameters. |
| getParent | Get the parent of this node. |
| getPath | Returns the category path to the root category. |
| getSibling | Returns the right or left sibling of a category. |
| hasChildren | Test if this node has children. |
| hasParent | Test if this node has a parent. |
| removeChild | Remove a specific child. |
| setAllLoaded | |
| setParent | Set the parent of this category. |
| setSibling | Function to set the left or right sibling of a category. |
Importing
jimport( 'joomla.application.categories' );
See also
- JCategoryNode source code in BitBucket
- Other versions of this class
SeeAlso:JCategoryNode [Edit See Also]
Examples
<CodeExamplesForm />
