[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/lib/spout/src/Spout/Writer/XLSX/Internal/ -> Worksheet.php (summary)

(no description)

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

Defines 1 class

Worksheet:: (8 methods):
  __construct()
  startSheet()
  throwIfSheetFilePointerIsNotAvailable()
  getExternalSheet()
  getLastWrittenRowIndex()
  getId()
  addRow()
  close()


Class: Worksheet  - X-Ref

Class Worksheet
Represents a worksheet within a XLSX file. The difference with the Sheet object is
that this class provides an interface to write data

__construct($externalSheet, $worksheetFilesFolder, $sharedStringsHelper, $shouldUseInlineStrings)   X-Ref

param: \Box\Spout\Writer\Common\Sheet $externalSheet The associated "external" sheet
param: string $worksheetFilesFolder Temporary folder where the files to create the XLSX will be stored
param: \Box\Spout\Writer\XLSX\Helper\SharedStringsHelper $sharedStringsHelper Helper for shared strings
param: bool $shouldUseInlineStrings Whether inline or shared strings should be used

startSheet()   X-Ref
Prepares the worksheet to accept data

return: void

throwIfSheetFilePointerIsNotAvailable()   X-Ref
Checks if the book has been created. Throws an exception if not created yet.

return: void

getExternalSheet()   X-Ref

return: \Box\Spout\Writer\Common\Sheet The "external" sheet

getLastWrittenRowIndex()   X-Ref

return: int The index of the last written row

getId()   X-Ref

return: int The ID of the worksheet

addRow($dataRow, $style)   X-Ref
Adds data to the worksheet.

param: array $dataRow Array containing data to be written. Cannot be empty.
param: \Box\Spout\Writer\Style\Style $style Style to be applied to the row. NULL means use default style.
return: void

close()   X-Ref
Closes the worksheet

return: void



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