[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

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

(no description)

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

Defines 1 class

RowIterator:: (10 methods):
  __construct()
  rewind()
  valid()
  next()
  getNumColumnsRepeatedForCurrentNode()
  getCellValue()
  isEmptyCellValue()
  current()
  key()
  end()


Class: RowIterator  - X-Ref

Class RowIterator

__construct($xmlReader)   X-Ref

param: XMLReader $xmlReader XML Reader, positioned on the "<table:table>" element

rewind()   X-Ref
Rewind the Iterator to the first element.
NOTE: It can only be done once, as it is not possible to read an XML file backwards.

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

getNumColumnsRepeatedForCurrentNode()   X-Ref

return: int The value of "table:number-columns-repeated" attribute of the current node, or 1 if attribute missing

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|\DateInterval|null The value associated with the cell, empty string if cell's type is void/undefined, null on error

isEmptyCellValue($value)   X-Ref
empty() replacement that honours 0 as a valid value

param: $value The cell value
return: bool

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