API17:JCategoryNode::getSibling
From Joomla! Documentation
JCategoryNode::getSibling
Description
Returns the right or left sibling of a category.
public function getSibling ($right=true)
| Parameter | Type | Default | Description |
|---|---|---|---|
| $right | boolean | true | if set to false, returns the left sibling |
- Returns JCategoryNode|null
- Defined on line 564 of libraries/joomla/application/categories.php
See also
JCategoryNode::getSibling source code on BitBucket
Class JCategoryNode
Subpackage Application- Other versions of JCategoryNode::getSibling
User contributed notes
Code Examples