Открытые члены | |
getPopupData (array $excludedList=[]) | |
toRestFormatIdOnly () | |
setMessageInfo (Message $message) | |
getEntityIds () | |
toRestFormat (array $option=[]) | |
![]() | |
__construct ($source=null) | |
add (ActiveRecord $entry) | |
offsetSet ($offset, $entry) | |
load ($source) | |
delete () | |
![]() | |
unsetByKeys (array $keys) | |
filter (callable $predicate) | |
getAny () | |
![]() | |
getPrimaryIds () | |
getDataEntityCollection () | |
save () | |
Открытые статические члены | |
static | getCollectionElementClass () |
static | getRestEntityName () |
![]() | |
static | getDataClass () |
static | find (array $filter, array $order, ?int $limit=null, ?Context $context=null) |
Дополнительные унаследованные члены | |
![]() | |
setDataEntityCollection (ORM\Objectify\Collection $entityCollection) | |
initByEntitiesCollection (ORM\Objectify\Collection $entitiesCollection) | |
initByArray (array $items) | |
![]() | |
ORM Objectify Collection | $dataEntityCollection = null |
int | $newEntityTmpId = 0 |
<int,BaseLinkItem> @method BaseLinkItem offsetGet($key)
См. определение в файле BaseLinkCollection.php строка 15
|
staticabstract |
Переопределяет метод предка Collection.
Переопределяется в CalendarCollection, FavoriteCollection, FileCollection, PinCollection, ReminderCollection, TaskCollection и UrlCollection.
getEntityIds | ( | ) |
См. определение в файле BaseLinkCollection.php строка 61
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.
Переопределяется в FavoriteCollection, FileCollection и ReminderCollection.
См. определение в файле BaseLinkCollection.php строка 22
|
static |
Returns the name of the entity that will be used in the rest response
Замещает RestConvertible.
Переопределяется в PinCollection.
См. определение в файле BaseLinkCollection.php строка 34
setMessageInfo | ( | Message | $message | ) |
Associates the entity with the passed message by filling in the messageId, chatId and authorId
Message | $message |
Замещает Link.
См. определение в файле BaseLinkCollection.php строка 51
toRestFormat | ( | array | $option = [] | ) |
Returns an array in JSON like format to return the entity as a rest response.
array | $option |
Замещает RestConvertible.
Переопределяется в FavoriteCollection и ReminderCollection.
См. определение в файле BaseLinkCollection.php строка 95
toRestFormatIdOnly | ( | ) |
Returns an array containing the id of the link and the id of the linked entity, or an array of such arrays
Замещает LinkRestConvertible.
См. определение в файле BaseLinkCollection.php строка 39