Exemplo n.º 1
0
 /**
  * this will reset the selected form panel state
  *
  * @TODO    we need to change this so that just a single form can be cleared
  */
 public function resetformsJsonAction()
 {
     //$formIDs = $this->_getParam('ids',array());
     $formsModel = new RM_Forms();
     $formsModel->resetForms();
     return array('data' => array('success' => true));
 }