Properties

$resResult

$resResult : 

Type

$strQuery

$strQuery : 

Type

$arrCache

$arrCache : 

Type

$arrRow

$arrRow : 

Type

$intIndex

$intIndex : 

Type

$intRowIndex

$intRowIndex : 

Type

$blnDone

$blnDone : 

Type

Methods

__construct()

__construct(  $resResult,   $strQuery) 

Parameters

$resResult
$strQuery

__destruct()

__destruct() 

__get()

__get(  $strKey) : mixed

Return a result parameter or a particular field of the current row

Supported parameters:

  • query: corresponding query string
  • numRows: number of rows of the current result
  • numFields: fields of the current result

Throw an exception on requests for unknown fields.

Parameters

$strKey

Returns

mixed

fetchRow()

fetchRow() : array

Fetch the current row as enumerated array - does not use Cache

Returns

array

fetchAssoc()

fetchAssoc() : array

Fetch the current row as associative array - does not use Cache

Returns

array

fetchEach()

fetchEach(  $strKey) : array

Fetch a particular field of each row of the result

Parameters

$strKey

Returns

array

fetchAllAssoc()

fetchAllAssoc() : array

Fetch all rows as associative array

Returns

array

fetchField()

fetchField(  $intOffset) : array

Get the column information and return it as array

Parameters

$intOffset

Returns

array

first()

first() : \Database_Result

Go to the first row of the current result

Returns

\Database_Result

next()

next() : \Database_Result|boolean

Go to the next row of the current result

Returns

\Database_Result|boolean

prev()

prev() : \Database_Result|boolean

Go to the previous row of the current result

Returns

\Database_Result|boolean

last()

last() : \Database_Result|boolean

Go to the last row of the current result

Returns

\Database_Result|boolean

row()

row(  $blnFetchArray = false) : array

Return the current row as associative array

Parameters

$blnFetchArray

Returns

array

reset()

reset() : \Database_Result

Reset the current result

Returns

\Database_Result

free()

free() 

Free the current result

fetch_row()

fetch_row() : array

Fetch the current row as enumerated array

Returns

array

fetch_assoc()

fetch_assoc() : array

Fetch the current row as associative array

Returns

array

num_rows()

num_rows() : integer

Return the number of rows of the current result

Returns

integer

num_fields()

num_fields() : integer

Return the number of fields of the current result

Returns

integer

fetch_field()

fetch_field(  $intOffset) : object

Get the column information

Parameters

$intOffset

Returns

object

fetchAssocCache()

fetchAssocCache() : array

Fetch the current row as associative array

Returns

array