abstract public listEntries ( array $filter = [], array $filterOperators = [], integer | null $skip = null, integer | null $amount = null, string | null $sortField = null, boolean | null $sortAscending = null ) : Entity[] |
$filter |
array |
the filter all resulting entities must fulfill, the keys as field names |
$filterOperators |
array |
the operators of the filter like "=" defining the full condition of the field |
$skip |
integer | null |
if given and not null, it specifies the amount of rows to skip |
$amount |
integer | null |
if given and not null, it specifies the maximum amount of rows to retrieve |
$sortField |
string | null |
if given and not null, it specifies the field to sort the entries |
$sortAscending |
boolean | null |
if given and not null, it specifies that the sort order is ascending,
descending else |
return |
Entity[] |
the entities fulfilling the filter or all if no filter was given |