/** * this will clear the selected form panel state * * @TODO we need to change this so that just a single form can be cleared */ public function clearformsJsonAction() { //$formIDs = $this->_getParam('ids',array()); $formsModel = new RM_Forms(); $formsModel->clearForms(); return array('data' => array('success' => true)); }