PHP Класс Phalcon\Db\Result\Serializable

Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$data
$position

Открытые методы

Метод Описание
__construct ( $result ) Class constructor.
__wakeup ( ) Resets the internal pointer
fetch ( ) : array | boolean Fetches a row in the resultset
fetchAll ( ) : array Returns the full data in the resultset
numRows ( ) : integer Returns the number of rows in the internal array
setFetchMode ( integer $fetchMode ) Changes the fetch mode, this is not implemented yet

Описание методов

__construct() публичный метод

The resultset is completely fetched
public __construct ( $result )

__wakeup() публичный метод

Resets the internal pointer
public __wakeup ( )

fetch() публичный метод

Fetches a row in the resultset
public fetch ( ) : array | boolean
Результат array | boolean

fetchAll() публичный метод

Returns the full data in the resultset
public fetchAll ( ) : array
Результат array

numRows() публичный метод

Returns the number of rows in the internal array
public numRows ( ) : integer
Результат integer

setFetchMode() публичный метод

Changes the fetch mode, this is not implemented yet
public setFetchMode ( integer $fetchMode )
$fetchMode integer

Описание свойств

$data защищенное свойство

protected $data

$position защищенное свойство

protected $position