interface IRowContainer implements Traversable

Container of database result fetched into IRow.

Methods

IRow|bool
fetch()

Fetches single row object.

array
fetchPairs($key = NULL, $value = NULL)

Fetches all rows as associative array.

IRow[]
fetchAll()

Fetches all rows.

Details

at line 23
IRow|bool fetch()

Fetches single row object.

Return Value

IRow|bool

if there is no row

at line 31
array fetchPairs($key = NULL, $value = NULL)

Fetches all rows as associative array.

Parameters

$key
$value

Return Value

array

at line 37
IRow[] fetchAll()

Fetches all rows.

Return Value

IRow[]