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