Actions

API17

JCategoryNode

From Joomla! Documentation

Revision as of 17:50, 23 April 2011 by Doxiki2 (Talk | contribs)

Replacement filing cabinet.png
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

Subpackage

Application

Extends

JObject

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

SeeAlso:JCategoryNode [Edit See Also]

Examples

<CodeExamplesForm />