method
public
static
Livefeed::tryPostpone()
Сигнатура
public static tryPostpone(mixed $offset, array<string|int, mixed> $fields, array<string|int, mixed> &$updateFields[, mixed $checkPermissions = true ]) : mixed
Параметры
$offset
mixed
$fields
array<string|int, mixed>
$updateFields
array<string|int, mixed>
$checkPermissions
mixed
= true
Возвращаемое значение
mixed
Как применяется в Livefeed
Livefeed::tryPostpone() — метод класса \Bitrix\Crm\Activity\Provider\Livefeed модуля «CRM».
Статический метод — вызывается через имя класса Livefeed, без создания объекта.
use Bitrix\Main\Loader;
use Bitrix\Crm\Activity\Provider\Livefeed;
Loader::includeModule('crm');
$offset = null;
$fields = [];
$updateFields = [];
$result = Livefeed::tryPostpone($offset, $fields, $updateFields);
// $result: mixedДругие методы Livefeed
addActivity()addComment()canAddCalendarEvents()canCompleteOnView()canKeepCompletedInCalendar()canKeepReassignedInCalendar()canUseCalendarEvents()canUseCommunicationStatistics()canUseLiveFeedEvents()checkCompletePermission()checkFields()checkForWaitingCompletion()
tryPostpone() есть и у других классов модуля «CRM»: Base, Call, CallList, ExternalChannel, OpenLine, Visit, Wait, WebForm.
Исходный файл: source/crm/lib/activity/provider/livefeed.php:526

