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

