function perform() { if ($this->_config->getValue("summary_show_agreement")) { $this->_view = new SummaryView("registerstep0"); $this->setCommonData(); } else { SummaryController::setForwardAction("RegisterStep1"); } }
function perform() { $this->_page = $this->_request->getValue("page"); $val = new CustomSummaryPageValidator(); if (!$val->validate($this->_page)) { // instead of showing an ugly smarty error, let's forward processing // to the default action so that at least we can show something! SummaryController::setForwardAction("Default"); } else { // let's cache the page... After all, we're not expecting much dynamic context in here! $this->_view = new SummaryCachedView($this->_page, array("page" => $this->_page, "locale" => $this->_locale->getLocaleCode())); $this->setCommonData(); } return true; }
function perform() { // get the data from the request, as it's already been validated $this->templateId = $this->_request->getValue("templateId"); $this->blogName = $this->_request->getValue("blogName"); $this->blogLocale = $this->_request->getValue("blogLocale"); $this->userName = $this->_request->getValue("userName"); $this->userPassword = $this->_request->getValue("userPassword"); $this->userEmail = $this->_request->getValue("userEmail"); $this->userFullName = $this->_request->getValue("userFullName"); // show some info, and we're all happy! //$this->_view = new SummaryView( "registerstep4" ); //$rg =$blogInfo->getBlogRequestGenerator(); //$blogUrl = $rg->blogLink($blogInfo); //$this->_view->setValue( "blogurl", $blogUrl ); //$this->setValues(); SummaryController::setForwardAction("RegisterStep5"); }