[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/lib/spout/src/Spout/Reader/XLSX/ -> RowIterator.php (summary)

(no description)

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

Defines 1 class

RowIterator:: (9 methods):
  __construct()
  normalizeSheetDataXMLFilePath()
  rewind()
  valid()
  next()
  getCellValue()
  current()
  key()
  end()


Class: RowIterator  - X-Ref

Class RowIterator

__construct($filePath, $sheetDataXMLFilePath, $sharedStringsHelper)   X-Ref

param: string $filePath Path of the XLSX file being read
param: string $sheetDataXMLFilePath Path of the sheet data XML file as in [Content_Types].xml
param: Helper\SharedStringsHelper $sharedStringsHelper Helper to work with shared strings

normalizeSheetDataXMLFilePath($sheetDataXMLFilePath)   X-Ref

param: string $sheetDataXMLFilePath Path of the sheet data XML file as in [Content_Types].xml
return: string Path of the XML file containing the sheet data,

rewind()   X-Ref
Rewind the Iterator to the first element.
Initializes the XMLReader object that reads the associated sheet data.
The XMLReader is configured to be safe from billion laughs attack.

return: void

valid()   X-Ref
Checks if current position is valid

return: boolean

next()   X-Ref
Move forward to next element. Empty rows will be skipped.

return: void

getCellValue($node)   X-Ref
Returns the (unescaped) correctly marshalled, cell value associated to the given XML node.

param: \DOMNode $node
return: string|int|float|bool|\DateTime|null The value associated with the cell (null when the cell has an error)

current()   X-Ref
Return the current element, from the buffer.

return: array|null

key()   X-Ref
Return the key of the current element

return: int

end()   X-Ref
Cleans up what was created to iterate over the object.

return: void



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