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();
    }
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();
    }
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 ( ) ; }
Validates an array of submitted city data
@return bool
Validates an array of submitted city data