Documentation

ListBuilderAdapter
in

Interace for all adapters

Table of Contents

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

Methods

all()

Method returns all vailable records

public all() : array<string|int, mixed>
Return values
array<string|int, mixed>

all vailable records

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

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