PHP Класс lithium\data\source\database\adapter\pdo\Result

It also provides a simple caching mechanism which stores the result after the first load. You are then free to iterate over the result back and forth through the provided methods and don't have to think about hitting the database too often. On initialization, it needs a PDOStatement to operate on. You are then free to use all methods provided by the Iterator interface.
Наследование: extends lithium\data\source\Result
Показать файл Открыть проект Примеры использования класса

Защищенные методы

Метод Описание
_fetch ( ) : array | boolean | null Fetches the next result from the resource.

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

_fetch() защищенный Метод

Fetches the next result from the resource.
protected _fetch ( ) : array | boolean | null
Результат array | boolean | null Returns a key/value pair for the next result, `null` if there is none, `false` if something bad happened.