Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
Класс ReactionMessages
+ Граф наследования:ReactionMessages:

Открытые члены

 __construct (array $messageIds, bool $withOwnReactions=true)
 
 addReactionMessage (ReactionMessage $reaction)
 
 getReactionMessage (int $messageId)
 
 toRestFormat (array $option=[])
 
 getUserIds ()
 
 getPopupData (array $excludedList=[])
 
- Открытые члены унаследованные от Registry
 unsetByKeys (array $keys)
 
 filter (callable $predicate)
 
 getAny ()
 

Открытые статические члены

static initFromArray (array $reactionArray, bool $withOwnReactions=true)
 
static getRestEntityName ()
 

Подробное описание

<int,ReactionMessage> @method ReactionMessage next() @method ReactionMessage current() @method ReactionMessage offsetGet($offset)

См. определение в файле ReactionMessages.php строка 20

Конструктор(ы)

◆ __construct()

__construct ( array $messageIds,
bool $withOwnReactions = true )

См. определение в файле ReactionMessages.php строка 26

Методы

◆ addReactionMessage()

addReactionMessage ( ReactionMessage $reaction)

См. определение в файле ReactionMessages.php строка 51

◆ 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()
Аргументы
string[]$excludedList
Возвращает
PopupData

Замещает PopupDataAggregatable.

См. определение в файле ReactionMessages.php строка 131

◆ getReactionMessage()

getReactionMessage ( int $messageId)

См. определение в файле ReactionMessages.php строка 58

◆ getRestEntityName()

static getRestEntityName ( )
static

Returns the name of the entity that will be used in the rest response

Возвращает
string

Замещает RestConvertible.

См. определение в файле ReactionMessages.php строка 92

◆ getUserIds()

getUserIds ( )

См. определение в файле ReactionMessages.php строка 116

◆ initFromArray()

static initFromArray ( array $reactionArray,
bool $withOwnReactions = true )
static

См. определение в файле ReactionMessages.php строка 39

◆ toRestFormat()

toRestFormat ( array $option = [])

Returns an array in JSON like format to return the entity as a rest response.

Аргументы
array$option
Возвращает
array

Замещает RestConvertible.

См. определение в файле ReactionMessages.php строка 97