/** * ban an user **/ public function banUserAction() { $this->_helper->layout->disableLayout(); $this->_helper->viewRenderer->setNoRender(); if ($this->getRequest()->isPost()) { $actor_id = $this->_getParam('aid'); $matterModel = new Application_Model_Matter(); $result = $matterModel->banUser($actor_id); } }