method
public
static
Livefeed::renderViewComment()
Сигнатура
public static renderViewComment(array<string|int, mixed> $activity) : string
Параметры
$activity
array<string|int, mixed>
Данные дела.
Возвращаемое значение
string
Как применяется в Livefeed
Livefeed::renderViewComment() — метод класса \Bitrix\Crm\Activity\Provider\Livefeed модуля «CRM».
Статический метод — вызывается через имя класса Livefeed, без создания объекта.
use Bitrix\Main\Loader;
use Bitrix\Crm\Activity\Provider\Livefeed;
Loader::includeModule('crm');
$activity = [];
$result = Livefeed::renderViewComment($activity);
// $result: stringДругие методы Livefeed
Исходный файл: source/crm/lib/activity/provider/livefeed.php:235

