original_string: protected function setTitleEditCurrency()
      {
          if (isset($this->data_currency['code'])) {
              $title = $this->text('Edit %name', array('%name' => $this->data_currency['name']));
          } else {
              $title = $this->text('Add currency');
          }
  
          $this->setTitle($title);
      }
code: protected function setTitleEditCurrency()
      {
          if (isset($this->data_currency['code'])) {
              $title = $this->text('Edit %name', array('%name' => $this->data_currency['name']));
          } else {
              $title = $this->text('Add currency');
          }
  
          $this->setTitle($title);
      }
code_tokens: protected function setTitleEditCurrency ( ) { if ( isset ( $ this -> data_currency [ 'code' ] ) ) { $ title = $ this -> text ( 'Edit %name' , array ( '%name' => $ this -> data_currency [ 'name' ] ) ) ; } else { $ title = $ this -> text ( 'Add currency' ) ; } $ this -> setTitle ( $ title ) ; }
docstring: Sets titles on the currency edit page
docstring_tokens: Sets titles on the currency edit page