original_string: public function format_row($row) {
          if ($this->rownum < 0) {
              $this->rownum = $this->currpage * $this->pagesize;
          } else {
              $this->rownum += 1;
          }
  
          return parent::format_row($row);
      }
code: public function format_row($row) {
          if ($this->rownum < 0) {
              $this->rownum = $this->currpage * $this->pagesize;
          } else {
              $this->rownum += 1;
          }
  
          return parent::format_row($row);
      }
code_tokens: public function format_row ( $ row ) { if ( $ this -> rownum < 0 ) { $ this -> rownum = $ this -> currpage * $ this -> pagesize ; } else { $ this -> rownum += 1 ; } return parent :: format_row ( $ row ) ; }
docstring: Before adding each row to the table make sure rownum is incremented.
  
  @param array $row row of data from db used to make one row of the table.
  @return array one row for the table
docstring_tokens: Before adding each row to the table make sure rownum is incremented .