Beispiel #1
0
 /**
  * Группы свойств
  * 
  * @return void
  */
 public function groupsAction()
 {
     $options = Phorm_Config::xml('grids/control/structures.xml', 'groups');
     if ($this->_request->isXmlHttpRequest()) {
         $rows = $this->Structures->getGroupsList($this->_params);
         $paginator = $this->Structures->getPaginator();
         $this->_helper->json(Phorm_JQuery_DataGrid::data($rows, $paginator, $options));
     } else {
         $this->view->assign('GroupsDataTable', $this->view->DataGrid('GroupsDataTable', $options));
     }
 }