CommonAdapterTest
extends Common
in package
Common adapter
Table of Contents
- all() : array<string|int, mixed>
- Method returns all vailable records
- getRecords() : array<string|int, mixed>
- {@inheritdoc}
- preprocessListItem() : object
- Record preprocessor
Methods
all()
Method returns all vailable records
public
all() : array<string|int, mixed>
Tags
Return values
array<string|int, mixed> —all vailable records
getRecords()
{@inheritdoc}
public
getRecords(array<string|int, mixed> $order, int $from, int $limit) : array<string|int, mixed>
Parameters
- $order : array<string|int, mixed>
- $from : int
- $limit : int
Tags
Return values
array<string|int, mixed> —preprocessListItem()
Record preprocessor
public
preprocessListItem(object $record) : object
Parameters
- $record : object
-
record to be preprocessed
Return values
object —preprocessed record