class ResultSet extends Object implements Iterator, IRowContainer

Represents a result set.

Properties

Connection read-only $connection

Methods

__construct(Connection $connection, $queryString, array $params)

No description

getConnection()

No description

getPdoStatement()

No description

string
getQueryString()

No description

array
getParameters()

No description

int
getColumnCount()

No description

int
getRowCount()

No description

float
getTime()

No description

array
normalizeRow($row)

Normalizes result row.

void
dump()

Displays complete result set as HTML table for debug purposes.

rewind()

No description

current()

No description

key()

No description

next()

No description

valid()

No description

IRow|bool
fetch()

No description

mixed|false
fetchField($column = 0)

Fetches single field.

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

No description

IRow[]
fetchAll()

No description

array
fetchAssoc($path)

No description

Details

at line 52
__construct(Connection $connection, $queryString, array $params)

No description

Parameters

Connection $connection
$queryString
array $params

at line 86
Connection getConnection()

No description

Return Value

Connection

at line 96
PDOStatement getPdoStatement()

internal  
 

No description

Return Value

PDOStatement

at line 105
string getQueryString()

No description

Return Value

string

at line 114
array getParameters()

No description

Return Value

array

at line 123
int getColumnCount()

No description

Return Value

int

at line 132
int getRowCount()

No description

Return Value

int

at line 141
float getTime()

No description

Return Value

float

at line 152
array normalizeRow($row)

Normalizes result row.

Parameters

$row

Return Value

array

at line 199
void dump()

Displays complete result set as HTML table for debug purposes.

Return Value

void

at line 208
rewind()

No description

at line 216
current()

No description

at line 222
key()

No description

at line 228
next()

No description

at line 234
valid()

No description

at line 250
IRow|bool fetch()

No description

Return Value

IRow|bool

if there is no row

at line 279
mixed|false fetchField($column = 0)

Fetches single field.

Parameters

$column

Return Value

mixed|false

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

No description

Parameters

$key
$value

Return Value

array

at line 298
IRow[] fetchAll()

No description

Return Value

IRow[]

at line 310
array fetchAssoc($path)

No description

Parameters

$path

Return Value

array