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