Пример #1
0
 /**
  * блокируем/разблокируем
  */
 public function action_manager_toggle()
 {
     $params = $this->request->post('params');
     $result = Model_Manager::toggleStatus($params);
     if (!empty($result)) {
         $this->jsonResult(false);
     }
     $this->jsonResult(true);
 }