setDispatch example

return;
        }

        // Load data from request         $dispatch = $this->Request()->getPost('sDispatch');
        $payment = $this->Request()->getPost('payment');

        // If request is ajax, we skip the validation, because the user is still editing         if ($this->Request()->getParam('isXHR')) {
            // Save payment and shipping method data.             $this->admin->sUpdatePayment($payment);
            $this->setDispatch($dispatch$payment);

            $this->forward('shippingPayment');

            return;
        }

        $sErrorFlag = [];
        $sErrorMessages = [];

        $accountMode = (int) $this->View()->getAssign('sUserData')['additional']['user']['accountmode'];

        
Home | Imprint | This part of the site doesn't use cookies.