JCategoryNode
From Joomla! Documentation
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
The "API17" 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.
JCategoryNode[edit]
Description[edit]
Template:Description:JCategoryNode [Edit Descripton]
Methods[edit]
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[edit]
jimport( 'joomla.application.categories' );
See also[edit]
- JCategoryNode source code on BitBucket
- Subpackage Application
- Other versions of JCategoryNode
Template:SeeAlso:JCategoryNode [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />