Beispiel #1
0
 /**
  * Список свойств
  * 
  * @return void
  */
 public function propertiesAction()
 {
     $options = Phorm_Config::xml('grids/control/structures.xml', 'properties');
     if ($this->_request->isXmlHttpRequest()) {
         $rows = $this->Structures->getPropertiesList($this->_params);
         $paginator = $this->Structures->getPaginator();
         $this->_helper->json(Phorm_JQuery_DataGrid::data($rows, $paginator, $options));
     } else {
         $this->view->assign('PropertiesDataTable', $this->view->DataGrid('PropertiesDataTable', $options));
     }
 }