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