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

