original_string: public function currency(array &$submitted, array $options = array())
      {
          $this->options = $options;
          $this->submitted = &$submitted;
  
          $this->validateCurrency();
          $this->validateBool('default');
          $this->validateBool('status');
          $this->validateCodeCurrency();
          $this->validateName();
          $this->validateNumericCodeCurrency();
          $this->validateSymbolCurrency();
          $this->validateMajorUnitCurrency();
          $this->validateMinorUnitCurrency();
          $this->validateConvertionRateCurrency();
          $this->validateDecimalsCurrency();
          $this->validateRoundingStepCurrency();
  
          $this->unsetSubmitted('update');
  
          return $this->getResult();
      }
code: public function currency(array &$submitted, array $options = array())
      {
          $this->options = $options;
          $this->submitted = &$submitted;
  
          $this->validateCurrency();
          $this->validateBool('default');
          $this->validateBool('status');
          $this->validateCodeCurrency();
          $this->validateName();
          $this->validateNumericCodeCurrency();
          $this->validateSymbolCurrency();
          $this->validateMajorUnitCurrency();
          $this->validateMinorUnitCurrency();
          $this->validateConvertionRateCurrency();
          $this->validateDecimalsCurrency();
          $this->validateRoundingStepCurrency();
  
          $this->unsetSubmitted('update');
  
          return $this->getResult();
      }
code_tokens: public function currency ( array & $ submitted , array $ options = array ( ) ) { $ this -> options = $ options ; $ this -> submitted = & $ submitted ; $ this -> validateCurrency ( ) ; $ this -> validateBool ( 'default' ) ; $ this -> validateBool ( 'status' ) ; $ this -> validateCodeCurrency ( ) ; $ this -> validateName ( ) ; $ this -> validateNumericCodeCurrency ( ) ; $ this -> validateSymbolCurrency ( ) ; $ this -> validateMajorUnitCurrency ( ) ; $ this -> validateMinorUnitCurrency ( ) ; $ this -> validateConvertionRateCurrency ( ) ; $ this -> validateDecimalsCurrency ( ) ; $ this -> validateRoundingStepCurrency ( ) ; $ this -> unsetSubmitted ( 'update' ) ; return $ this -> getResult ( ) ; }
docstring: Performs full currency data validation
  @param array $submitted
  @param array $options
  @return boolean|array
docstring_tokens: Performs full currency data validation