Beispiel #1
0
 public function getRootNode()
 {
     $root = parent::getRoot();
     if ($root && in_array($root->getId(), $this->getCategoryIds())) {
         $root->setChecked(true);
     }
     return $root;
 }