API15

JCategoryNode

From Joomla! Documentation

Revision as of 16:52, 22 March 2010 by Doxiki (talk | contribs) (New page: <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki> </span> {{Description:JCategoryNode}} ===Defined ...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

The "API15" 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.

[Edit Descripton] Template:Description:JCategoryNode

Defined in[edit]

libraries/joomla/application/categories.php

Methods[edit]

Method name Description
__construct Class constructor
addChild Adds a child to the current element of the Categorytree
getParent Returns the parent category of the current category JCategoryNode
setParent Sets the parent for the current category
hasChildren Returns true if the category has children boolean
getChildren Returns the children of the Category array

Importing[edit]

jimport( 'joomla.application.categories' );

[Edit See Also] Template:SeeAlso:JCategoryNode

Examples[edit]

<CodeExamplesForm />