API17

JCategoryNode

From Joomla! Documentation

Revision as of 19:55, 11 May 2013 by JoomlaWikiBot (talk | contribs) (moving preparation)
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.

Joomla 11.1 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]

Template:SeeAlso:JCategoryNode [Edit See Also]

User contributed notes[edit]

<CodeExamplesForm />