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();
    }
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();
    }
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 ( ) ; }
Performs full order data validation
@param array $submitted
@param array $options
@return array|boolean
Performs full order data validation