original_string: public function order(array &$submitted, array $options = array())
      {
          $this->options = $options;
          $this->submitted = &$submitted;
  
          $this->validateOrder();
          $this->validateStoreId();
          $this->validatePaymentOrder();
          $this->validateShippingOrder();
          $this->validateStatusOrder();
          $this->validateShippingAddressOrder();
          $this->validatePaymentAddressOrder();
          $this->validateUserCartId();
          $this->validateCreatorOrder();
          $this->validateTotalOrder();
          $this->validateData();
          $this->validateComponentPricesOrder();
          $this->validateCurrencyOrder();
          $this->validateCommentOrder();
          $this->validateTransactionOrder();
          $this->validateLogOrder();
  
          $this->unsetSubmitted('update');
  
          return $this->getResult();
      }
code: public function order(array &$submitted, array $options = array())
      {
          $this->options = $options;
          $this->submitted = &$submitted;
  
          $this->validateOrder();
          $this->validateStoreId();
          $this->validatePaymentOrder();
          $this->validateShippingOrder();
          $this->validateStatusOrder();
          $this->validateShippingAddressOrder();
          $this->validatePaymentAddressOrder();
          $this->validateUserCartId();
          $this->validateCreatorOrder();
          $this->validateTotalOrder();
          $this->validateData();
          $this->validateComponentPricesOrder();
          $this->validateCurrencyOrder();
          $this->validateCommentOrder();
          $this->validateTransactionOrder();
          $this->validateLogOrder();
  
          $this->unsetSubmitted('update');
  
          return $this->getResult();
      }
code_tokens: public function order ( array & $ submitted , array $ options = array ( ) ) { $ this -> options = $ options ; $ this -> submitted = & $ submitted ; $ this -> validateOrder ( ) ; $ this -> validateStoreId ( ) ; $ this -> validatePaymentOrder ( ) ; $ this -> validateShippingOrder ( ) ; $ this -> validateStatusOrder ( ) ; $ this -> validateShippingAddressOrder ( ) ; $ this -> validatePaymentAddressOrder ( ) ; $ this -> validateUserCartId ( ) ; $ this -> validateCreatorOrder ( ) ; $ this -> validateTotalOrder ( ) ; $ this -> validateData ( ) ; $ this -> validateComponentPricesOrder ( ) ; $ this -> validateCurrencyOrder ( ) ; $ this -> validateCommentOrder ( ) ; $ this -> validateTransactionOrder ( ) ; $ this -> validateLogOrder ( ) ; $ this -> unsetSubmitted ( 'update' ) ; return $ this -> getResult ( ) ; }
docstring: Performs full order data validation
  @param array $submitted
  @param array $options
  @return array|boolean
docstring_tokens: Performs full order data validation