Example #1
0
 protected function getRootNode()
 {
     $rez = parent::getRootNode();
     $rez['data'][0]['has_childs'] = !empty($this->config['level_fields']) || !empty($this->config['show_in_tree']);
     return $rez;
 }