API17:JCategoryNode
From Joomla! Documentation
Revision as of 13:32, 29 August 2012 by JoomlaWikiBot (Talk | contribs)
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.
JCategoryNode
Description
Description:JCategoryNode [Edit Descripton]
Methods
| Visibility | Method name | Description |
|---|---|---|
| public | __construct | Class constructor. |
| public | addChild | Add child to this node. |
| public | getAuthor | Returns the user that authored the category. |
| public | getChildren | Get the children of this node. |
| public | getMetadata | Returns the category metadata. |
| public | getNumItems | |
| public | getParams | Returns the category parameters. |
| public | getParent | Get the parent of this node. |
| public | getPath | Returns the category path to the root category. |
| public | getSibling | Returns the right or left sibling of a category. |
| public | hasChildren | Test if this node has children. |
| public | hasParent | Test if this node has a parent. |
| public | removeChild | Remove a specific child. |
| public | setAllLoaded | |
| public | setParent | Set the parent of this category. |
| public | setSibling | Function to set the left or right sibling of a category. |
- Defined in libraries/joomla/application/categories.php
- Extends JObject
Importing
jimport( 'joomla.application.categories' );
See also
-
JCategoryNode source code on BitBucket
-
Subpackage Application
- Other versions of JCategoryNode
SeeAlso:JCategoryNode [Edit See Also]
User contributed notes
<CodeExamplesForm />
