예제 #1
0
 /**
  * Check and (if needed) set the return URL parameter
  *
  * @param array &$params Form params
  *
  * @return void
  */
 protected function setReturnURLParam(array &$params)
 {
     parent::setReturnURLParam($params);
     $params[\XLite\Controller\AController::RETURN_URL] = $this->buildFullURL('order', '', array('order_number' => \XLite\Core\Request::getInstance()->order_number));
 }
예제 #2
0
 /**
  * Check and (if needed) set the return URL parameter
  *
  * @param array &$params Form params
  *
  * @return void
  */
 protected function setReturnURLParam(array &$params)
 {
     parent::setReturnURLParam($params);
     $params[\XLite\Controller\AController::RETURN_URL] = $this->buildFullURL('checkout');
 }