Actions

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 (moving preparation)
 
(One intermediate revision by one user not shown)
Line 14: Line 14:
 
|-
 
|-
 
|public  
 
|public  
|[[JCategoryNode::__construct/11.1|__construct]]
+
|[[API17:JCategoryNode::__construct|__construct]]
 
|Class constructor.  
 
|Class constructor.  
 
|-
 
|-
 
|public  
 
|public  
|[[JCategoryNode::addChild/11.1|addChild]]
+
|[[API17:JCategoryNode::addChild|addChild]]
 
|Add child to this node.  
 
|Add child to this node.  
 
|-
 
|-
 
|public  
 
|public  
|[[JCategoryNode::getAuthor/11.1|getAuthor]]
+
|[[API17:JCategoryNode::getAuthor|getAuthor]]
 
|Returns the user that authored the category.  
 
|Returns the user that authored the category.  
 
|-
 
|-
 
|public   
 
|public   
|[[JCategoryNode::getChildren/11.1|getChildren]]
+
|[[API17:JCategoryNode::getChildren|getChildren]]
 
|Get the children of this node.  
 
|Get the children of this node.  
 
|-
 
|-
 
|public  
 
|public  
|[[JCategoryNode::getMetadata/11.1|getMetadata]]
+
|[[API17:JCategoryNode::getMetadata|getMetadata]]
 
|Returns the category metadata.  
 
|Returns the category metadata.  
 
|-
 
|-
 
|public  
 
|public  
|[[JCategoryNode::getNumItems/11.1|getNumItems]]
+
|[[API17:JCategoryNode::getNumItems|getNumItems]]
 
|
 
|
 
|-
 
|-
 
|public  
 
|public  
|[[JCategoryNode::getParams/11.1|getParams]]
+
|[[API17:JCategoryNode::getParams|getParams]]
 
|Returns the category parameters.  
 
|Returns the category parameters.  
 
|-
 
|-
 
|public   
 
|public   
|[[JCategoryNode::getParent/11.1|getParent]]
+
|[[API17:JCategoryNode::getParent|getParent]]
 
|Get the parent of this node.  
 
|Get the parent of this node.  
 
|-
 
|-
 
|public  
 
|public  
|[[JCategoryNode::getPath/11.1|getPath]]
+
|[[API17:JCategoryNode::getPath|getPath]]
 
|Returns the category path to the root category.  
 
|Returns the category path to the root category.  
 
|-
 
|-
 
|public  
 
|public  
|[[JCategoryNode::getSibling/11.1|getSibling]]
+
|[[API17:JCategoryNode::getSibling|getSibling]]
 
|Returns the right or left sibling of a category.  
 
|Returns the right or left sibling of a category.  
 
|-
 
|-
 
|public  
 
|public  
|[[JCategoryNode::hasChildren/11.1|hasChildren]]
+
|[[API17:JCategoryNode::hasChildren|hasChildren]]
 
|Test if this node has children.  
 
|Test if this node has children.  
 
|-
 
|-
 
|public  
 
|public  
|[[JCategoryNode::hasParent/11.1|hasParent]]
+
|[[API17:JCategoryNode::hasParent|hasParent]]
 
|Test if this node has a parent.  
 
|Test if this node has a parent.  
 
|-
 
|-
 
|public  
 
|public  
|[[JCategoryNode::removeChild/11.1|removeChild]]
+
|[[API17:JCategoryNode::removeChild|removeChild]]
 
|Remove a specific child.  
 
|Remove a specific child.  
 
|-
 
|-
 
|public  
 
|public  
|[[JCategoryNode::setAllLoaded/11.1|setAllLoaded]]
+
|[[API17:JCategoryNode::setAllLoaded|setAllLoaded]]
 
|
 
|
 
|-
 
|-
 
|public  
 
|public  
|[[JCategoryNode::setParent/11.1|setParent]]
+
|[[API17:JCategoryNode::setParent|setParent]]
 
|Set the parent of this category.  
 
|Set the parent of this category.  
 
|-
 
|-
 
|public  
 
|public  
|[[JCategoryNode::setSibling/11.1|setSibling]]
+
|[[API17:JCategoryNode::setSibling|setSibling]]
 
|Function to set the left or right sibling of a category.  
 
|Function to set the left or right sibling of a category.  
 
|-
 
|-
 
|}
 
|}
 
* '''Defined in''' libraries/joomla/application/categories.php
 
* '''Defined in''' libraries/joomla/application/categories.php
* '''Extends''' [[JObject/11.1|JObject]]
+
* '''Extends''' [[API17:JObject|JObject]]
 
===Importing===
 
===Importing===
 
<source lang="php">jimport( 'joomla.application.categories' );</source>
 
<source lang="php">jimport( 'joomla.application.categories' );</source>
 
===See also===
 
===See also===
 
* {{JVer|11.1}} '''JCategoryNode source code''' on [[jplatform:application/categories.php|BitBucket]]
 
* {{JVer|11.1}} '''JCategoryNode source code''' on [[jplatform:application/categories.php|BitBucket]]
* {{JVer|11.1}} Subpackage [[Subpackage Application/11.1|Application]]
+
* {{JVer|11.1}} Subpackage [[API17:Subpackage Application|Application]]
* [[JCategoryNode|Other versions of JCategoryNode]]
+
* [[API17:JCategoryNode|Other versions of JCategoryNode]]
 
{{SeeAlso:JCategoryNode}}
 
{{SeeAlso:JCategoryNode}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
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>

Latest revision as of 19:55, 11 May 2013

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.

Joomla 11.1 JCategoryNode

Description

Description:JCategoryNode [Edit Descripton]

Methods

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

jimport( 'joomla.application.categories' );

See also

SeeAlso:JCategoryNode [Edit See Also]

User contributed notes

<CodeExamplesForm />