sqliteDbResultSet

Extends \jDbResultSet

Couche d'encapsulation des resultset sqlite.

package

jelix

subpackage

db_driver

Methods

__construct

__construct( $idResult) 
inherited

Arguments

$idResult

__destruct

__destruct() 
inherited

_fetch

_fetch() 
inherited abstract

_free

_free() 
inherited abstract

_rewind

_rewind() 
inherited abstract

addModifier

addModifier(callback $function) 
inherited
since 1.1.6

Arguments

$function

callback

a callback function the function should accept in parameter the record, and the resulset object

applyModifiers

applyModifiers( $result) 
inherited

Arguments

$result

not implemented

bindColumn( $column,  &$param,  $type = null) 
inherited abstract

Arguments

$column

$param

$type

not implemented

bindParam( $parameter,  &$variable,  $data_type = null,  $length = null,  $driver_options = null) 
inherited abstract

Arguments

$parameter

$variable

$data_type

$length

$driver_options

not implemented

bindValue( $parameter,  $value,  $data_type) 
inherited abstract

Arguments

$parameter

$value

$data_type

not implemented

columnCount() 
inherited abstract

current

current() 
inherited

not implemented

execute( $parameters = null) 
inherited abstract

Arguments

$parameters

fetch a result. The result is returned as an object.

fetch() : object|boolean
inherited

Response

object|boolean

result object or false if there is no more result

Return all results in an array. Each result is an object.

fetchAll() : array
inherited

Response

array

not implemented

getAttribute( $attr) 
inherited

Arguments

$attr

id

id() 
inherited

key

key() 
inherited

next

next() 
inherited

rewind

rewind() 
inherited

rowCount

rowCount() 
inherited abstract

not implemented

setAttribute( $attr,  $value) 
inherited

Arguments

$attr

$value

set the fetch mode.

setFetchMode(integer $fetchmode, string|object $param = null, array $ctoargs = null) 
inherited

Arguments

$fetchmode

integer

FETCH_OBJ, FETCH_CLASS or FETCH_INTO

$param

string|object

class name if FETCH_CLASS, an object if FETCH_INTO. else null.

$ctoargs

array

arguments for the constructor if FETCH_CLASS

unescapeBin

unescapeBin(string $text) : string
inherited
since 1.1.6

Arguments

$text

string

a binary string to unescape

Response

string

the unescaped string

valid

valid() 
inherited

Properties

_idResult

_idResult : 
inherited

Type(s)

_fetchMode

_fetchMode : 
inherited

Type(s)

_fetchModeParam

_fetchModeParam : 
inherited

Type(s)

_fetchModeCtoArgs

_fetchModeCtoArgs : 
inherited

Type(s)

a callback function which will modify on the fly record's value

modifier : array
inherited
var

of callback

since

Type(s)

array

_currentRecord

_currentRecord : 
inherited

Type(s)

_recordIndex

_recordIndex : 
inherited

Type(s)