См. определение в файле ViewItem.php строка 12
◆ __construct()
__construct |
( |
int | $id, |
|
|
int | $messageId, |
|
|
int | $userId, |
|
|
DateTime | $dateView ) |
◆ getDateView()
◆ getId()
Returns the id of the entity
- Возвращает
- int|null
Замещает Entity.
См. определение в файле ViewItem.php строка 34
◆ getMessageId()
◆ getPopupData()
getPopupData |
( |
array | $excludedList = [] | ) |
|
Returns the data to be raised to the top of the REST response. Works on the principle of the composite pattern.
- См. также
- RestAdapter::toRestFormat()
- Аргументы
-
- Возвращает
- PopupData
Замещает PopupDataAggregatable.
См. определение в файле ViewItem.php строка 29
◆ getRestEntityName()
static getRestEntityName |
( |
| ) |
|
|
static |
Returns the name of the entity that will be used in the rest response
- Возвращает
- string
Замещает RestConvertible.
См. определение в файле ViewItem.php строка 54
◆ getUserId()
◆ toRestFormat()
toRestFormat |
( |
array | $option = [] | ) |
|
Returns an array in JSON like format to return the entity as a rest response.
- Аргументы
-
- Возвращает
- array
Замещает RestConvertible.
См. определение в файле ViewItem.php строка 59
◆ $dateView
◆ $id
◆ $messageId
◆ $userId