API17

API17:JCategoryNode::getSibling

From Joomla! Documentation

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


User contributed notes

Code Examples