public function hasChildren()
 {
     return $this->current()->getDisplayChildren() && parent::hasChildren();
 }
Ejemplo n.º 2
0
 function hasChildren()
 {
     return parent::hasChildren() && $this->getDepth() < 2;
 }