protected function validateEditCity()
    {
        $this->setSubmitted('city');
        $this->setSubmittedBool('status');
        $this->setSubmitted('update', $this->data_city);
        $this->setSubmitted('country', $this->data_country['code']);
        $this->setSubmitted('state_id', $this->data_state['state_id']);

        $this->validateComponent('city');

        return !$this->hasErrors();
    }