original_string: public function country(array &$submitted, array $options = array())
      {
          $this->options = $options;
          $this->submitted = &$submitted;
  
          $this->validateCountry();
          $this->validateWeight();
          $this->validateBool('status');
          $this->validateCodeCountry();
          $this->validateName();
          $this->validateNativeNameCountry();
          $this->validateZoneCountry();
          $this->validateFormatCountry();
  
          $this->unsetSubmitted('update');
  
          return $this->getResult();
      }
code: public function country(array &$submitted, array $options = array())
      {
          $this->options = $options;
          $this->submitted = &$submitted;
  
          $this->validateCountry();
          $this->validateWeight();
          $this->validateBool('status');
          $this->validateCodeCountry();
          $this->validateName();
          $this->validateNativeNameCountry();
          $this->validateZoneCountry();
          $this->validateFormatCountry();
  
          $this->unsetSubmitted('update');
  
          return $this->getResult();
      }
code_tokens: public function country ( array & $ submitted , array $ options = array ( ) ) { $ this -> options = $ options ; $ this -> submitted = & $ submitted ; $ this -> validateCountry ( ) ; $ this -> validateWeight ( ) ; $ this -> validateBool ( 'status' ) ; $ this -> validateCodeCountry ( ) ; $ this -> validateName ( ) ; $ this -> validateNativeNameCountry ( ) ; $ this -> validateZoneCountry ( ) ; $ this -> validateFormatCountry ( ) ; $ this -> unsetSubmitted ( 'update' ) ; return $ this -> getResult ( ) ; }
docstring: Performs full validation of submitted country data
  @param array $submitted
  @param array $options
  @return array|bool
docstring_tokens: Performs full validation of submitted country data