src/components/CategoryManager.php
public function getChildren ($category)
		{
			$children = [];
			foreach ($this->_data as $item)
				if ($item->lft > $category->lft and $item->rgt < $category->rgt)
					$children[] = $item;

			return $children;
		}
public function getChildren ($category)
		{
			$children = [];
			foreach ($this->_data as $item)
				if ($item->lft > $category->lft and $item->rgt < $category->rgt)
					$children[] = $item;

			return $children;
		}
public function getChildren ( $ category ) { $ children = [ ] ; foreach ( $ this -> _data as $ item ) if ( $ item -> lft > $ category -> lft and $ item -> rgt < $ category -> rgt ) $ children [ ] = $ item ; return $ children ; }
Gets children of current category.
@param Category $category
@return array
Gets children of current category .