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;
    }
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;
    }
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 ; }
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
Sets an entire row of data