protected function setCountryState($state_id)
    {
        $this->data_state = array();

        if (is_numeric($state_id)) {

            $this->data_state = $this->state->get($state_id);

            if (empty($this->data_state)) {
                $this->outputHttpStatus(404);
            }
        }
    }
protected function setCountryState($state_id)
    {
        $this->data_state = array();

        if (is_numeric($state_id)) {

            $this->data_state = $this->state->get($state_id);

            if (empty($this->data_state)) {
                $this->outputHttpStatus(404);
            }
        }
    }
protected function setCountryState ( $ state_id ) { $ this -> data_state = array ( ) ; if ( is_numeric ( $ state_id ) ) { $ this -> data_state = $ this -> state -> get ( $ state_id ) ; if ( empty ( $ this -> data_state ) ) { $ this -> outputHttpStatus ( 404 ) ; } } }
Sets a country state data
@param integer $state_id
Sets a country state data