public function permissionAction() { //check if the user select a production $this->production = new Zend_Session_Namespace('production'); if ($this->production->id == null) { return $this->_helper->_redirector->gotoSimple('index', 'production', 'production'); } $users_activity = explode(",", $_SESSION["production"]["activity_users"]); $model = new Production_Model_Activity(); $this->view->activity_users = $model->fetchUsersActivities($users_activity); }