original_string: protected function submitEditCheckout()
      {
          $this->setSubmitted('order');
  
          $this->setAddressFormCheckout();
          $this->submitAddAddressCheckout();
  
          if ($this->isPosted('checkout_login') && empty($this->uid)) {
              $this->show_login_form = true;
          }
  
          $this->same_payment_address = (bool) $this->getPosted('same_payment_address', true, false, 'bool');
  
          if ($this->isPosted('update')) {
              $this->setMessage($this->text('Form has been updated'), 'success', false);
          }
  
          $this->submitLoginCheckout();
  
          if ($this->isPosted('checkout_anonymous')) {
              $this->show_login_form = false;
          }
  
          $this->validateCouponCheckout();
          $this->submitCartCheckout();
          $this->submitOrderCheckout();
      }
code: protected function submitEditCheckout()
      {
          $this->setSubmitted('order');
  
          $this->setAddressFormCheckout();
          $this->submitAddAddressCheckout();
  
          if ($this->isPosted('checkout_login') && empty($this->uid)) {
              $this->show_login_form = true;
          }
  
          $this->same_payment_address = (bool) $this->getPosted('same_payment_address', true, false, 'bool');
  
          if ($this->isPosted('update')) {
              $this->setMessage($this->text('Form has been updated'), 'success', false);
          }
  
          $this->submitLoginCheckout();
  
          if ($this->isPosted('checkout_anonymous')) {
              $this->show_login_form = false;
          }
  
          $this->validateCouponCheckout();
          $this->submitCartCheckout();
          $this->submitOrderCheckout();
      }
code_tokens: protected function submitEditCheckout ( ) { $ this -> setSubmitted ( 'order' ) ; $ this -> setAddressFormCheckout ( ) ; $ this -> submitAddAddressCheckout ( ) ; if ( $ this -> isPosted ( 'checkout_login' ) && empty ( $ this -> uid ) ) { $ this -> show_login_form = true ; } $ this -> same_payment_address = ( bool ) $ this -> getPosted ( 'same_payment_address' , true , false , 'bool' ) ; if ( $ this -> isPosted ( 'update' ) ) { $ this -> setMessage ( $ this -> text ( 'Form has been updated' ) , 'success' , false ) ; } $ this -> submitLoginCheckout ( ) ; if ( $ this -> isPosted ( 'checkout_anonymous' ) ) { $ this -> show_login_form = false ; } $ this -> validateCouponCheckout ( ) ; $ this -> submitCartCheckout ( ) ; $ this -> submitOrderCheckout ( ) ; }
docstring: Handles submitted actions
docstring_tokens: Handles submitted actions