PHP Класс Bolt\Storage\Query\QueryResultset

Наследование: extends AppendIterator, implements Countable
Показать файл Открыть проект Примеры использования класса

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

Свойство Тип Описание
$results array

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

Метод Описание
add ( array $results, string $type = null )
count ( ) : integer Returns the total count
get ( string $label = null ) : ArrayIterator Allows retrieval of a set or results, if a label has been used to store results then passing the label as a parameter returns just that set of results.

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

add() публичный Метод

public add ( array $results, string $type = null )
$results array A set of results
$type string An optional label to partition results

count() публичный Метод

Returns the total count
public count ( ) : integer
Результат integer

get() публичный Метод

Allows retrieval of a set or results, if a label has been used to store results then passing the label as a parameter returns just that set of results.
public get ( string $label = null ) : ArrayIterator
$label string
Результат ArrayIterator

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

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

protected array $results
Результат array