protected function setTitleEditCity()
    {
        if (isset($this->data_city['city_id'])) {
            $title = $this->text('Edit %name', array('%name' => $this->data_city['name']));
        } else {
            $title = $this->text('Add city');
        }

        $this->setTitle($title);
    }
protected function setTitleEditCity()
    {
        if (isset($this->data_city['city_id'])) {
            $title = $this->text('Edit %name', array('%name' => $this->data_city['name']));
        } else {
            $title = $this->text('Add city');
        }

        $this->setTitle($title);
    }
protected function setTitleEditCity ( ) { if ( isset ( $ this -> data_city [ 'city_id' ] ) ) { $ title = $ this -> text ( 'Edit %name' , array ( '%name' => $ this -> data_city [ 'name' ] ) ) ; } else { $ title = $ this -> text ( 'Add city' ) ; } $ this -> setTitle ( $ title ) ; }
Sets page title on the city edit page
Sets page title on the city edit page