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