public function ajaxdeleteAction() { $this->_helper->layout()->disableLayout(); $this->_helper->viewRenderer->setNoRender(true); $id = $this->_getParam('id',0); if($id > 0) { $users = new System_Models_UserMapper(); try{ $users->delete($id); echo "s"; } catch(Exception $e) { echo "f"; } } else { $this->_redirect('/system/user'); } }