Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Dibi
Result
setRowFactory
Dibi\Result::setRowFactory PHP Method
Result Class Documentation
Show file
Open project: dg/dibi
setRowFactory()
public
method
Set a factory to create fetched object instances. These should extend the Row class.
public
setRowFactory
(
callable
$callback
) :
self
$callback
callable
return
self
public function setRowFactory(callable $callback) { $this->rowFactory = $callback; return $this; }
Result
__construct
count
detectTypes
dump
fetch
fetchAll
fetchAssoc
fetchPairs
fetchSingle
free
getColumns
getFormat
getInfo
getIterator
getResource
getResultDriver
getRowClass
getRowCount
getType
normalize
oldFetchAssoc
seek
setFormat
setRowClass
setRowFactory
setType