API17

Difference between revisions of "JCategoryNode"

From Joomla! Documentation

m (JoomlaWikiBot moved page JCategoryNode/11.1 to API17:JCategoryNode without leaving a redirect: Robot: Moved page)
m (→‎User contributed notes: moving preparation)
Line 101: Line 101:
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:Platform JClasses]][[Category:Platform 11.1]][[Category:JCategoryNode]]</noinclude>
+
<noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude>

Revision as of 10:13, 11 May 2013

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 />