protected function setStateCity($state_id)
    {
        $this->data_state = $this->state->get($state_id);

        if (empty($this->data_state)) {
            $this->outputHttpStatus(404);
        }
    }
protected function setStateCity($state_id)
    {
        $this->data_state = $this->state->get($state_id);

        if (empty($this->data_state)) {
            $this->outputHttpStatus(404);
        }
    }
protected function setStateCity ( $ state_id ) { $ this -> data_state = $ this -> state -> get ( $ state_id ) ; if ( empty ( $ this -> data_state ) ) { $ this -> outputHttpStatus ( 404 ) ; } }
Sets an array of state data
@param integer $state_id
Sets an array of state data