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

