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