function preProcess() { parent::preProcess(); // If invitation detected forward to invitation screen // Note: controller is responsible for making sure tpId is in session $teamPcpId = $this->get('tpId'); if ($teamPcpId) { CRM_Utils_System::redirect(CRM_Utils_System::url('civicrm/pcp/support', "code=cpftn&option=invite&qfKey={$this->controller->_key}")); } }
function preProcess() { parent::preProcess(); $workflowTeam = $this->get("workflowTeam"); if ($workflowTeam) { $this->_reactToFile = $this->getTeamReactFile($workflowTeam); } else { $option = CRM_Utils_Request::retrieve('option', 'String', CRM_Core_DAO::$_nullObject); $this->set("workflowTeam", $option); $this->_reactToFile = $this->getTeamReactFile($option); } $className = 'CRM_Pcpteams_Form_' . $this->_reactToFile; $className::preProcess($this); $this->assign('reactClass', $this->_reactToFile); }
function preProcess() { parent::preProcess(); CRM_Utils_System::redirect(CRM_Utils_System::url('civicrm/event/register', "reset=1&id=" . $this->controller->get('component_page_id'))); CRM_Core_Error::debug_var('$this->controller->get(component_page_id)', $this->controller->get('component_page_id')); }
function preProcess() { parent::preProcess(); }