Exemple #1
0
 public function view()
 {
     $cnt = new SearchGroupsController();
     $cnt->search();
     $result = Loader::helper('json')->encode($cnt->getSearchResultObject()->getJSONObject());
     $this->set('result', $result);
     $this->set('searchController', $cnt);
     $this->set('tree', GroupTree::get());
     $this->requireAsset('core/groups');
 }