original_string: public function setRow($row_index, $values_arr, $type=null)
      {
          $cell = null;
          foreach($values_arr as $col_index=>$val){
              $cell = $this->setCell($col_index+1, $row_index, $val, $type);
          }
  
          if($cell){
              return $cell->parentNode;
          }
          return false;
      }
code: public function setRow($row_index, $values_arr, $type=null)
      {
          $cell = null;
          foreach($values_arr as $col_index=>$val){
              $cell = $this->setCell($col_index+1, $row_index, $val, $type);
          }
  
          if($cell){
              return $cell->parentNode;
          }
          return false;
      }
code_tokens: public function setRow ( $ row_index , $ values_arr , $ type = null ) { $ cell = null ; foreach ( $ values_arr as $ col_index => $ val ) { $ cell = $ this -> setCell ( $ col_index + 1 , $ row_index , $ val , $ type ) ; } if ( $ cell ) { return $ cell -> parentNode ; } return false ; }
docstring: Sets an entire row of data
  @param integer $row_index The 1 based row index to use
  @param array $values_arr An array of values
  @param string $type ss:Type attribute
  @return DOMElement The row
docstring_tokens: Sets an entire row of data