Открытые члены | |
toRestFormatIdOnly () | |
getPopupData (array $excludedList=[]) | |
getId () | |
setId (int $id) | |
getPrimaryId () | |
setPrimaryId (int $primaryId) | |
getAuthorId () | |
setAuthorId (int $authorId) | |
getMessageId () | |
setMessageId (?int $messageId) | |
getChatId () | |
setChatId (int $chatId) | |
getEntityId () | |
setEntityId (?int $entityId) | |
getDateCreate () | |
setDateCreate (DateTime $dateCreate) | |
getEntity () | |
setEntity (RestEntity $entity) | |
setMessageInfo (Message $message) | |
toRestFormat (array $option=[]) | |
![]() | |
load ($source) | |
prepareFields () | |
getDataEntity () | |
save () | |
delete () | |
markChanged () | |
isChanged () | |
markDrop () | |
isDeleted () | |
fill (array $source) | |
toArray () | |
![]() | |
setRegistry (Registry $registry) | |
getRegistry () | |
Открытые статические члены | |
static | getEntityClassName () |
static | linkEntityToMessage (RestEntity $entity, Message $message) |
![]() | |
static | getRestEntityName () |
![]() | |
static | getDataClass () |
Защищенные статические члены | |
static | getEntityIdFieldName () |
static | mirrorDataEntityFields () |
Защищенные данные | |
int | $id = null |
int | $authorId |
int | $messageId = null |
int | $chatId |
int | $entityId |
DateTime | $dateCreate |
RestEntity | $entity |
См. определение в файле BaseLinkItem.php строка 17
getAuthorId | ( | ) |
См. определение в файле BaseLinkItem.php строка 89
getChatId | ( | ) |
См. определение в файле BaseLinkItem.php строка 111
getDateCreate | ( | ) |
См. определение в файле BaseLinkItem.php строка 133
getEntity | ( | ) |
Переопределяется в CalendarItem, FileItem, TaskItem и UrlItem.
См. определение в файле BaseLinkItem.php строка 147
|
staticabstract |
Замещает LinkItem.
Переопределяется в CalendarItem, FavoriteItem, FileItem, PinItem, ReminderItem, TaskItem и UrlItem.
getEntityId | ( | ) |
Returns the ID of the entity that the link contains.
Замещает LinkItem.
См. определение в файле BaseLinkItem.php строка 122
|
staticabstractprotected |
Переопределяется в CalendarItem, FavoriteItem, FileItem, PinItem, ReminderItem, TaskItem и UrlItem.
getId | ( | ) |
См. определение в файле BaseLinkItem.php строка 67
getMessageId | ( | ) |
Переопределяется в FavoriteItem, PinItem и ReminderItem.
См. определение в файле BaseLinkItem.php строка 100
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.
Переопределяется в FavoriteItem, FileItem, PinItem и ReminderItem.
См. определение в файле BaseLinkItem.php строка 58
getPrimaryId | ( | ) |
|
static |
RestEntity | $entity | |
Message | $message |
Переопределяется в ReminderItem.
См. определение в файле BaseLinkItem.php строка 42
|
staticprotected |
Переопределяется в CalendarItem, FileItem, ReminderItem и UrlItem.
См. определение в файле BaseLinkItem.php строка 175
setAuthorId | ( | int | $authorId | ) |
См. определение в файле BaseLinkItem.php строка 94
setChatId | ( | int | $chatId | ) |
Переопределяется в FileItem.
См. определение в файле BaseLinkItem.php строка 116
setDateCreate | ( | DateTime | $dateCreate | ) |
См. определение в файле BaseLinkItem.php строка 138
setEntity | ( | RestEntity | $entity | ) |
RestEntity | $entity |
Переопределяется в CalendarItem, FileItem и UrlItem.
См. определение в файле BaseLinkItem.php строка 156
setEntityId | ( | ?int | $entityId | ) |
См. определение в файле BaseLinkItem.php строка 127
setId | ( | int | $id | ) |
См. определение в файле BaseLinkItem.php строка 72
setMessageId | ( | ?int | $messageId | ) |
Переопределяется в FavoriteItem, PinItem и ReminderItem.
См. определение в файле BaseLinkItem.php строка 105
setMessageInfo | ( | Message | $message | ) |
Associates the entity with the passed message by filling in the messageId, chatId and authorId
Message | $message |
Замещает Link.
Переопределяется в FavoriteItem, PinItem и ReminderItem.
См. определение в файле BaseLinkItem.php строка 164
setPrimaryId | ( | int | $primaryId | ) |
int | $primaryId |
Замещает ActiveRecord.
См. определение в файле BaseLinkItem.php строка 83
toRestFormat | ( | array | $option = [] | ) |
Returns an array in JSON like format to return the entity as a rest response.
array | $option |
Замещает RestConvertible.
Переопределяется в FavoriteItem, FileItem, PinItem и ReminderItem.
См. определение в файле BaseLinkItem.php строка 212
toRestFormatIdOnly | ( | ) |
Returns an array containing the id of the link and the id of the linked entity, or an array of such arrays
Замещает LinkRestConvertible.
См. определение в файле BaseLinkItem.php строка 49
|
protected |
См. определение в файле BaseLinkItem.php строка 24
|
protected |
См. определение в файле BaseLinkItem.php строка 26
|
protected |
См. определение в файле BaseLinkItem.php строка 28
|
protected |
См. определение в файле BaseLinkItem.php строка 29
|
protected |
См. определение в файле BaseLinkItem.php строка 27
|
protected |
См. определение в файле BaseLinkItem.php строка 23
|
protected |
См. определение в файле BaseLinkItem.php строка 25