/** * Adds an actor to a selected role * * */ public function mapActorRoleAction() { $this->_helper->layout->disableLayout(); $this->view->matter_id = $this->_getParam('id'); $this->view->role = $this->_getParam('role'); $this->view->search_role = $this->_getParam('search_role'); $this->view->role_search = $this->_getParam('role_search'); if ($this->view->role_search == "") { $this->view->role_search = $this->view->role; } $matterModel = new Application_Model_Matter(); $this->view->role_name = $matterModel->getRoleName($this->view->role); $this->view->all_roles = $matterModel->getAllRoles(); $this->view->container_id = $matterModel->getMatterContainer($this->view->matter_id); }