[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

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

(no description)

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

Defines 1 class

Writer:: (5 methods):
  setTempFolder()
  openWriter()
  getWorkbook()
  addRowToWriter()
  closeWriter()


Class: Writer  - X-Ref

Class Writer
This class provides base support to write data to ODS files

setTempFolder($tempFolder)   X-Ref
Sets a custom temporary folder for creating intermediate files/folders.
This must be set before opening the writer.

param: string $tempFolder Temporary folder where the files to create the ODS will be stored
return: Writer

openWriter()   X-Ref
Configures the write and sets the current sheet pointer to a new sheet.

return: void

getWorkbook()   X-Ref

return: Internal\Workbook The workbook representing the file to be written

addRowToWriter(array $dataRow, $style)   X-Ref
Adds data to the currently opened writer.
If shouldCreateNewSheetsAutomatically option is set to true, it will handle pagination
with the creation of new worksheets if one worksheet has reached its maximum capicity.

param: array $dataRow Array containing data to be written.
param: \Box\Spout\Writer\Style\Style $style Style to be applied to the row.
return: void

closeWriter()   X-Ref
Closes the writer, preventing any additional writing.

return: void



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