Открытые члены | |
getPopupData (array $excludedList=[]) | |
getUnique () | |
getIds () | |
getById (int $id) | |
toRestFormat (array $option=[]) | |
offsetSet ($offset, $value) | |
![]() | |
unsetByKeys (array $keys) | |
filter (callable $predicate) | |
getAny () | |
Открытые статические члены | |
static | initByArray (array $entities) |
![]() | |
static | getRestEntityName () |
Защищенные данные | |
array | $entitiesWithId = [] |
См. определение в файле EntityCollection.php строка 12
getById | ( | int | $id | ) |
См. определение в файле EntityCollection.php строка 50
getIds | ( | ) |
См. определение в файле EntityCollection.php строка 38
getPopupData | ( | array | $excludedList = [] | ) |
Returns the data to be raised to the top of the REST response. Works on the principle of the composite pattern.
string[] | $excludedList |
Замещает PopupDataAggregatable.
Переопределяется в FileCollection.
См. определение в файле EntityCollection.php строка 18
getUnique | ( | ) |
См. определение в файле EntityCollection.php строка 33
|
static |
RestEntity[] | $entities |
См. определение в файле EntityCollection.php строка 71
offsetSet | ( | $offset, | |
$value ) |
См. определение в файле EntityCollection.php строка 85
toRestFormat | ( | array | $option = [] | ) |
Returns an array in JSON like format to return the entity as a rest response.
array | $option |
Замещает RestConvertible.
Переопределяется в UserCollection.
См. определение в файле EntityCollection.php строка 55
|
protected |
См. определение в файле EntityCollection.php строка 16