Открытые члены | |
__construct ($source=null) | |
getPopupData (array $excludedList=[]) | |
getLocName (?string $languageId=null) | |
getPrimaryId () | |
setPrimaryId (int $primaryId) | |
getChatId () | |
setChatId (int $chatId) | |
getMessageId () | |
setMessageId (int $messageId) | |
getUserId () | |
setUserId (int $userId) | |
getReaction () | |
setReaction (string $reaction) | |
getDateCreate () | |
setDateCreate (DateTime $dateCreate) | |
getDefaultReaction () | |
beforeSaveReaction () | |
getDefaultDateCreate () | |
toRestFormat (array $option=[]) | |
![]() | |
setRegistry (Registry $registry) | |
getRegistry () | |
![]() | |
load ($source) | |
prepareFields () | |
getDataEntity () | |
save () | |
delete () | |
markChanged () | |
isChanged () | |
markDrop () | |
isDeleted () | |
fill (array $source) | |
toArray () | |
Открытые статические члены | |
static | getByMessage (int $messageId, string $reaction, int $userId) |
static | validateReaction (string $reaction) |
static | getDataClass () |
static | getRestEntityName () |
Открытые атрибуты | |
const | LIKE = 'LIKE' |
const | KISS = 'KISS' |
const | LAUGH = 'LAUGH' |
const | WONDER = 'WONDER' |
const | CRY = 'CRY' |
const | ANGRY = 'ANGRY' |
const | FACEPALM = 'FACEPALM' |
const | ALLOWED_REACTION |
Защищенные статические члены | |
static | mirrorDataEntityFields () |
См. определение в файле ReactionItem.php строка 19
__construct | ( | $source = null | ) |
См. определение в файле ReactionItem.php строка 50
beforeSaveReaction | ( | ) |
См. определение в файле ReactionItem.php строка 160
|
static |
См. определение в файле ReactionItem.php строка 60
getChatId | ( | ) |
См. определение в файле ReactionItem.php строка 100
|
static |
Returns ORM tablet class name.
Замещает ActiveRecord.
См. определение в файле ReactionItem.php строка 225
getDateCreate | ( | ) |
См. определение в файле ReactionItem.php строка 144
getDefaultDateCreate | ( | ) |
См. определение в файле ReactionItem.php строка 165
getDefaultReaction | ( | ) |
См. определение в файле ReactionItem.php строка 155
getLocName | ( | ?string | $languageId = null | ) |
См. определение в файле ReactionItem.php строка 83
getMessageId | ( | ) |
См. определение в файле ReactionItem.php строка 111
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.
См. определение в файле ReactionItem.php строка 78
getPrimaryId | ( | ) |
getReaction | ( | ) |
См. определение в файле ReactionItem.php строка 133
|
static |
Returns the name of the entity that will be used in the rest response
Замещает RestConvertible.
См. определение в файле ReactionItem.php строка 230
getUserId | ( | ) |
См. определение в файле ReactionItem.php строка 122
|
staticprotected |
См. определение в файле ReactionItem.php строка 185
setChatId | ( | int | $chatId | ) |
См. определение в файле ReactionItem.php строка 105
setDateCreate | ( | DateTime | $dateCreate | ) |
См. определение в файле ReactionItem.php строка 149
setMessageId | ( | int | $messageId | ) |
См. определение в файле ReactionItem.php строка 116
setPrimaryId | ( | int | $primaryId | ) |
int | $primaryId |
Замещает ActiveRecord.
См. определение в файле ReactionItem.php строка 93
setReaction | ( | string | $reaction | ) |
См. определение в файле ReactionItem.php строка 138
setUserId | ( | int | $userId | ) |
См. определение в файле ReactionItem.php строка 127
toRestFormat | ( | array | $option = [] | ) |
Returns an array in JSON like format to return the entity as a rest response.
array | $option |
Замещает RestConvertible.
См. определение в файле ReactionItem.php строка 235
|
static |
См. определение в файле ReactionItem.php строка 170
const ALLOWED_REACTION |
См. определение в файле ReactionItem.php строка 33
const ANGRY = 'ANGRY' |
См. определение в файле ReactionItem.php строка 30
const CRY = 'CRY' |
См. определение в файле ReactionItem.php строка 29
const FACEPALM = 'FACEPALM' |
См. определение в файле ReactionItem.php строка 31
const KISS = 'KISS' |
См. определение в файле ReactionItem.php строка 26
const LAUGH = 'LAUGH' |
См. определение в файле ReactionItem.php строка 27
const LIKE = 'LIKE' |
См. определение в файле ReactionItem.php строка 25
const WONDER = 'WONDER' |
См. определение в файле ReactionItem.php строка 28