1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
CommentInfo.php
См. документацию.
1
<?php
2
3
namespace
Bitrix\Im\V2\Controller\Chat\Message
;
4
5
use
Bitrix\Im\V2\Chat\Comment\CommentPopupItem
;
6
use
Bitrix\Im\V2\Controller\BaseController
;
7
use
Bitrix\Im\V2\MessageCollection
;
8
9
class
CommentInfo
extends
BaseController
10
{
14
public
function
listAction
(
MessageCollection
$messages
): ?
array
15
{
16
$commentInfo =
new
CommentPopupItem
(
$messages
->getCommonChatId(),
$messages
->getIds());
17
18
return
$this->
toRestFormat
($commentInfo);
19
}
20
}
Bitrix\Im\V2\Chat\Comment\CommentPopupItem
Определения
CommentPopupItem.php:14
Bitrix\Im\V2\Controller\BaseController
Определения
BaseController.php:30
Bitrix\Im\V2\Controller\BaseController\toRestFormat
toRestFormat(RestConvertible ... $entities)
Определения
BaseController.php:108
Bitrix\Im\V2\Controller\Chat\Message\CommentInfo
Определения
CommentInfo.php:10
Bitrix\Im\V2\Controller\Chat\Message\CommentInfo\listAction
listAction(MessageCollection $messages)
Определения
CommentInfo.php:14
Bitrix\Im\V2\MessageCollection
Определения
MessageCollection.php:43
array
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения
file_new.php:804
Bitrix\Im\V2\Controller\Chat\Message
Определения
CommentInfo.php:3
$messages
$messages
Определения
template.php:8
bitrix
modules
im
lib
V2
Controller
Chat
Message
CommentInfo.php
Создано системой
1.14.0