Открытые члены | |
__construct ($source=null) | |
setMessageInfo (Message $message) | |
setMessageId (?int $messageId) | |
toRestFormat (array $option=[]) | |
getMessageId () | |
getPopupData (array $excludedList=[]) | |
getDateRemind () | |
setDateRemind (DateTime $dateRemind) | |
isReminded () | |
setIsReminded (bool $isReminded) | |
![]() | |
toRestFormatIdOnly () | |
getId () | |
setId (int $id) | |
getPrimaryId () | |
setPrimaryId (int $primaryId) | |
getAuthorId () | |
setAuthorId (int $authorId) | |
getChatId () | |
setChatId (int $chatId) | |
getEntityId () | |
setEntityId (?int $entityId) | |
getDateCreate () | |
setDateCreate (DateTime $dateCreate) | |
getEntity () | |
setEntity (RestEntity $entity) | |
![]() | |
load ($source) | |
prepareFields () | |
getDataEntity () | |
save () | |
delete () | |
markChanged () | |
isChanged () | |
markDrop () | |
isDeleted () | |
fill (array $source) | |
toArray () | |
![]() | |
setRegistry (Registry $registry) | |
getRegistry () | |
Открытые статические члены | |
static | getDataClass () |
static | getEntityClassName () |
static | getRestEntityName () |
static | initByEntity (EO_LinkReminder $entity) |
static | createFromMessage (Message $message, ?Context $context=null) |
static | getByMessageAndUserId (Message $message, int $userId) |
static | linkEntityToMessage (RestEntity $entity, Message $message) |
Защищенные статические члены | |
static | getEntityIdFieldName () |
static | mirrorDataEntityFields () |
Защищенные данные | |
DateTime | $dateRemind |
bool | $isReminded |
![]() | |
int | $id = null |
int | $authorId |
int | $messageId = null |
int | $chatId |
int | $entityId |
DateTime | $dateCreate |
RestEntity | $entity |
@method Message getEntity()
См. определение в файле ReminderItem.php строка 19
__construct | ( | $source = null | ) |
См. определение в файле ReminderItem.php строка 26
См. определение в файле ReminderItem.php строка 68
|
static |
См. определение в файле ReminderItem.php строка 82
|
static |
Returns ORM tablet class name.
Замещает ActiveRecord.
См. определение в файле ReminderItem.php строка 36
getDateRemind | ( | ) |
См. определение в файле ReminderItem.php строка 170
|
static |
Переопределяет метод предка BaseLinkItem.
См. определение в файле ReminderItem.php строка 41
|
staticprotected |
Переопределяет метод предка BaseLinkItem.
См. определение в файле ReminderItem.php строка 46
getMessageId | ( | ) |
Переопределяет метод предка BaseLinkItem.
См. определение в файле ReminderItem.php строка 138
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 |
Переопределяет метод предка BaseLinkItem.
См. определение в файле ReminderItem.php строка 143
|
static |
Returns the name of the entity that will be used in the rest response
Замещает RestConvertible.
См. определение в файле ReminderItem.php строка 51
|
static |
См. определение в файле ReminderItem.php строка 56
isReminded | ( | ) |
См. определение в файле ReminderItem.php строка 181
|
static |
RestEntity | $entity | |
Message | $message |
Переопределяет метод предка BaseLinkItem.
См. определение в файле ReminderItem.php строка 100
|
staticprotected |
Переопределяет метод предка BaseLinkItem.
См. определение в файле ReminderItem.php строка 150
setDateRemind | ( | DateTime | $dateRemind | ) |
См. определение в файле ReminderItem.php строка 175
setIsReminded | ( | bool | $isReminded | ) |
См. определение в файле ReminderItem.php строка 186
setMessageId | ( | ?int | $messageId | ) |
Переопределяет метод предка BaseLinkItem.
См. определение в файле ReminderItem.php строка 112
setMessageInfo | ( | Message | $message | ) |
Associates the entity with the passed message by filling in the messageId, chatId and authorId
Message | $message |
Переопределяет метод предка BaseLinkItem.
См. определение в файле ReminderItem.php строка 105
toRestFormat | ( | array | $option = [] | ) |
Returns an array in JSON like format to return the entity as a rest response.
array | $option |
Переопределяет метод предка BaseLinkItem.
См. определение в файле ReminderItem.php строка 119
|
protected |
См. определение в файле ReminderItem.php строка 23
|
protected |
См. определение в файле ReminderItem.php строка 24