class ResultSet implements Iterator, IRowContainer

Represents a result set.

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|null
fetchFields()

Fetches array of fields.

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 202
void dump()

Displays complete result set as HTML table for debug purposes.

Return Value

void

at line 211
rewind()

No description

at line 219
current()

No description

at line 225
key()

No description

at line 231
next()

No description

at line 237
valid()

No description

at line 253
IRow|bool fetch()

No description

Return Value

IRow|bool

if there is no row

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

Fetches single field.

Parameters

$column

Return Value

mixed|false

at line 293
array|null fetchFields()

Fetches array of fields.

Return Value

array|null

at line 303
array fetchPairs($key = null, $value = null)

No description

Parameters

$key
$value

Return Value

array

at line 312
IRow[] fetchAll()

No description

Return Value

IRow[]

at line 324
array fetchAssoc($path)

No description

Parameters

$path

Return Value

array

Traits

SmartObject