original_string: 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);
      }
code: 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);
      }
code_tokens: 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 ) ; }
docstring: Sets page title on the city edit page
docstring_tokens: Sets page title on the city edit page