API17:JCategoryNode::getSibling
From Joomla! Documentation
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.
JCategoryNode::getSibling
Description
Returns the right or left sibling of a category.
Description:JCategoryNode::getSibling [Edit Descripton]
Synopsis
public JCategoryNode::getSibling ($right=true)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $right | boolean | true | if set to false, returns the left sibling |
Returns
JCategoryNode|null
Defined in
libraries/joomla/application/categories.php (line 564)
- see source code in BitBucket
Referenced by
See also
SeeAlso:JCategoryNode::getSibling
Examples
<CodeExamplesForm />
