API17:JCategoryNode
From Joomla! Documentation
(Difference between revisions)
(Updated to r1448:247ba8d88526) |
m (→User contributed notes: bad link repair) |
||
| Line 101: | Line 101: | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
| − | <noinclude>[[Category:Platform]][[Category:Platform 11.1]][[Category:JCategoryNode]]</noinclude> | + | <noinclude>[[Category:Platform JClasses]][[Category:Platform 11.1]][[Category:JCategoryNode]]</noinclude> |
Revision as of 13:32, 29 August 2012
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 />
