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.

array
fetchAssoc($path)

Fetches all rows and returns associative tree.

Details

at line 21
IRow|bool fetch()

Fetches single row object.

Return Value

IRow|bool

if there is no row

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

Fetches all rows as associative array.

Parameters

$key
$value

Return Value

array

at line 35
IRow[] fetchAll()

Fetches all rows.

Return Value

IRow[]

at line 42
array fetchAssoc($path)

Fetches all rows and returns associative tree.

Parameters

$path

Return Value

array