public function countryState(array $submitted, array $options = array())
    {
        $this->options = $options;
        $this->submitted = &$submitted;

        $this->validateCountryState();
        $this->validateBool('status');
        $this->validateCodeCountryState();
        $this->validateName();
        $this->validateCountryCountryState();
        $this->validateZoneCountryState();

        $this->unsetSubmitted('update');

        return $this->getResult();
    }
public function countryState(array $submitted, array $options = array())
    {
        $this->options = $options;
        $this->submitted = &$submitted;

        $this->validateCountryState();
        $this->validateBool('status');
        $this->validateCodeCountryState();
        $this->validateName();
        $this->validateCountryCountryState();
        $this->validateZoneCountryState();

        $this->unsetSubmitted('update');

        return $this->getResult();
    }
public function countryState ( array $ submitted , array $ options = array ( ) ) { $ this -> options = $ options ; $ this -> submitted = & $ submitted ; $ this -> validateCountryState ( ) ; $ this -> validateBool ( 'status' ) ; $ this -> validateCodeCountryState ( ) ; $ this -> validateName ( ) ; $ this -> validateCountryCountryState ( ) ; $ this -> validateZoneCountryState ( ) ; $ this -> unsetSubmitted ( 'update' ) ; return $ this -> getResult ( ) ; }
Performs full country state validation
@param array $submitted
@param array $options
@return array|boolean
Performs full country state validation