Documentation

Simple
in package
implements ListBuilderAdapter

Simple adapter

Interfaces, Classes and Traits

ListBuilderAdapter
Interace for all adapters

Table of Contents

getRecords()  : array<string|int, mixed>
Method returns a subset from vailable records
preprocessListItem()  : object
Record preprocessor

Methods

getRecords()

Method returns a subset from vailable records

public getRecords(array<string|int, mixed> $order, int $from, int $limit) : array<string|int, mixed>
Parameters
$order : array<string|int, mixed>

order settings

$from : int

the beginning of the bunch

$limit : int

the size of the batch

Tags
see
ListBuilderAdapter::getRecords()
Return values
array<string|int, mixed>

subset from vailable records

preprocessListItem()

Record preprocessor

public preprocessListItem(object $record) : object
Parameters
$record : object

record to be preprocessed

Return values
object

preprocessed record

Search results

    Яндекс.Метрика