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

