예제 #1
0
 /**
  * edits/updates a classifier upon inplace-edit feature
  * *
  */
 public function editClassifierAction()
 {
     $this->_helper->layout->disableLayout();
     $this->_helper->viewRenderer->setNoRender();
     $post_data = $this->getRequest()->getPost();
     $matterModel = new Application_Model_Matter();
     $result = $matterModel->editClassifier($post_data['cid'], $post_data['value']);
     if ($matterModel->getError()) {
         echo $matterModel->getError();
     } else {
         echo $post_data['value'];
     }
 }