API17:JCategoryNode
From Joomla! Documentation
(Difference between revisions)
(Bulk upload by Doxiki2) |
(Layout updates) |
||
| Line 6: | Line 6: | ||
===Defined in=== | ===Defined in=== | ||
libraries/joomla/application/categories.php | libraries/joomla/application/categories.php | ||
| + | * see source code in [[jplatform:application/categories.php|BitBucket]] | ||
===Subpackage=== | ===Subpackage=== | ||
[[Subpackage Application/11.1|Application]] | [[Subpackage Application/11.1|Application]] | ||
| Line 69: | Line 70: | ||
<source lang="php">jimport( 'joomla.application.categories' );</source> | <source lang="php">jimport( 'joomla.application.categories' );</source> | ||
===See also=== | ===See also=== | ||
| + | * JCategoryNode source code in [[jplatform:application/categories.php|BitBucket]] | ||
* [[JCategoryNode|Other versions of this class]] | * [[JCategoryNode|Other versions of this class]] | ||
{{SeeAlso:JCategoryNode}} | {{SeeAlso:JCategoryNode}} | ||
Revision as of 17:50, 23 April 2011
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 />
