[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/lib/spout/src/Spout/Writer/ -> WriterInterface.php (summary)

(no description)

File Size: 91 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

WriterInterface:: (7 methods):
  openToFile()
  openToBrowser()
  addRow()
  addRowWithStyle()
  addRows()
  addRowsWithStyle()
  close()


Interface: WriterInterface  - X-Ref

Interface WriterInterface

openToFile($outputFilePath)   X-Ref
Inits the writer and opens it to accept data.
By using this method, the data will be written to a file.

param: string $outputFilePath Path of the output file that will contain the data
return: WriterInterface

openToBrowser($outputFileName)   X-Ref
Inits the writer and opens it to accept data.
By using this method, the data will be outputted directly to the browser.

param: string $outputFileName Name of the output file that will contain the data. If a path is passed in, only the file name will be kept
return: WriterInterface

addRow(array $dataRow)   X-Ref
Write given data to the output. New data will be appended to end of stream.

param: array $dataRow Array containing data to be streamed.
return: WriterInterface

addRowWithStyle(array $dataRow, $style)   X-Ref
Write given data to the output and apply the given style.

param: array $dataRow Array of array containing data to be streamed.
param: Style\Style $style Style to be applied to the row.
return: WriterInterface

addRows(array $dataRows)   X-Ref
Write given data to the output. New data will be appended to end of stream.

param: array $dataRows Array of array containing data to be streamed.
return: WriterInterface

addRowsWithStyle(array $dataRows, $style)   X-Ref
Write given data to the output and apply the given style.

param: array $dataRows Array of array containing data to be streamed.
param: Style\Style $style Style to be applied to the rows.
return: WriterInterface

close()   X-Ref
Closes the writer. This will close the streamer as well, preventing new data
to be written to the file.

return: void



Generated: Thu Aug 11 10:00:09 2016 Cross-referenced by PHPXref 0.7.1