method public static

Livefeed::getRenderAuthor()

Класс: \Bitrix\Crm\Activity\Provider\Livefeed

Сигнатура

public static getRenderAuthor(array<string|int, mixed> $activity) : string

Параметры

$activity array<string|int, mixed>
Данные дела.

Возвращаемое значение

string

Как применяется в Livefeed

Livefeed::getRenderAuthor() — метод класса \Bitrix\Crm\Activity\Provider\Livefeed модуля «CRM».

Статический метод — вызывается через имя класса Livefeed, без создания объекта.

use Bitrix\Main\Loader;
use Bitrix\Crm\Activity\Provider\Livefeed;

Loader::includeModule('crm');

$activity = [];
$result = Livefeed::getRenderAuthor($activity);
// $result: string

Другие методы Livefeed

Исходный файл: source/crm/lib/activity/provider/livefeed.php:344

Что будем искать? Например,Продвижение