sqliteDbResultSet
extends jDbResultSet
in package
Couche d'encapsulation des resultset sqlite.
Tags
Table of Contents
- $_currentRecord : mixed
- $_fetchMode : mixed
- $_fetchModeCtoArgs : mixed
- $_fetchModeParam : mixed
- $_idResult : mixed
- $_recordIndex : mixed
- $modifier : array<string|int, callable>
- a callback function which will modify on the fly record's value
- __construct() : mixed
- __destruct() : mixed
- addModifier() : mixed
- bindColumn() : mixed
- not implemented
- bindParam() : mixed
- not implemented
- bindValue() : mixed
- not implemented
- columnCount() : mixed
- not implemented
- current() : mixed
- execute() : mixed
- not implemented
- fetch() : object|bool
- fetch a result. The result is returned as an object.
- fetchAll() : array<string|int, object>
- Return all results in an array. Each result is an object.
- getAttribute() : mixed
- not implemented
- id() : mixed
- key() : mixed
- next() : mixed
- rewind() : mixed
- rowCount() : mixed
- setAttribute() : mixed
- not implemented
- setFetchMode() : mixed
- set the fetch mode.
- unescapeBin() : string
- valid() : mixed
- _fetch() : mixed
- _free() : mixed
- _rewind() : mixed
- applyModifiers() : mixed
Properties
$_currentRecord
protected
mixed
$_currentRecord
= alse
$_fetchMode
protected
mixed
$_fetchMode
= 0
$_fetchModeCtoArgs
protected
mixed
$_fetchModeCtoArgs
=
ull
$_fetchModeParam
protected
mixed
$_fetchModeParam
=
ull
$_idResult
protected
mixed
$_idResult
=
ull
$_recordIndex
protected
mixed
$_recordIndex
= 0
$modifier
a callback function which will modify on the fly record's value
protected
array<string|int, callable>
$modifier
= array()
Tags
Methods
__construct()
public
__construct(mixed $idResult) : mixed
Parameters
- $idResult : mixed
Return values
mixed —__destruct()
public
__destruct() : mixed
Return values
mixed —addModifier()
public
addModifier(callable $function) : mixed
Parameters
- $function : callable
-
a callback function the function should accept in parameter the record, and the resulset object
Tags
Return values
mixed —bindColumn()
not implemented
public
bindColumn(mixed $column, mixed &$param[, mixed $type = null ]) : mixed
Parameters
- $column : mixed
- $param : mixed
- $type : mixed = null
Return values
mixed —bindParam()
not implemented
public
bindParam(mixed $parameter, mixed &$variable[, mixed $data_type = null ][, mixed $length = null ][, mixed $driver_options = null ]) : mixed
Parameters
- $parameter : mixed
- $variable : mixed
- $data_type : mixed = null
- $length : mixed = null
- $driver_options : mixed = null
Return values
mixed —bindValue()
not implemented
public
bindValue(mixed $parameter, mixed $value, mixed $data_type) : mixed
Parameters
- $parameter : mixed
- $value : mixed
- $data_type : mixed
Return values
mixed —columnCount()
not implemented
public
columnCount() : mixed
Return values
mixed —current()
public
current() : mixed
Return values
mixed —execute()
not implemented
public
execute([mixed $parameters = null ]) : mixed
Parameters
- $parameters : mixed = null
Return values
mixed —fetch()
fetch a result. The result is returned as an object.
public
fetch() : object|bool
Return values
object|bool —result object or false if there is no more result
fetchAll()
Return all results in an array. Each result is an object.
public
fetchAll() : array<string|int, object>
Return values
array<string|int, object> —getAttribute()
not implemented
public
getAttribute(mixed $attr) : mixed
Parameters
- $attr : mixed
Return values
mixed —id()
public
id() : mixed
Return values
mixed —key()
public
key() : mixed
Return values
mixed —next()
public
next() : mixed
Return values
mixed —rewind()
public
rewind() : mixed
Return values
mixed —rowCount()
public
rowCount() : mixed
Return values
mixed —setAttribute()
not implemented
public
setAttribute(mixed $attr, mixed $value) : mixed
Parameters
- $attr : mixed
- $value : mixed
Return values
mixed —setFetchMode()
set the fetch mode.
public
setFetchMode(int $fetchmode[, string|object $param = null ][, array<string|int, mixed> $ctoargs = null ]) : mixed
Parameters
- $fetchmode : int
-
FETCH_OBJ, FETCH_CLASS or FETCH_INTO
- $param : string|object = null
-
class name if FETCH_CLASS, an object if FETCH_INTO. else null.
- $ctoargs : array<string|int, mixed> = null
-
arguments for the constructor if FETCH_CLASS
Return values
mixed —unescapeBin()
public
unescapeBin(string $text) : string
Parameters
- $text : string
-
a binary string to unescape
Tags
Return values
string —the unescaped string
valid()
public
valid() : mixed
Return values
mixed —_fetch()
protected
_fetch() : mixed
Return values
mixed —_free()
protected
_free() : mixed
Return values
mixed —_rewind()
protected
_rewind() : mixed
Return values
mixed —applyModifiers()
protected
applyModifiers(mixed $result) : mixed
Parameters
- $result : mixed