Documentation

getCommunicationType

string public static
\Bitrix\Crm\Activity\Provider\Base::getCommunicationType(
$providerTypeId = null
);

Method requests communication type. Static method.

Presently supported types:

  • \Bitrix\Crm\Activity\Provider\Base::COMMUNICATION_TYPE_UNDEFINED - default communications with specific person;
  • \Bitrix\Crm\Activity\Provider\Base::COMMUNICATION_TYPE_PHONE - communications via phone;
  • \Bitrix\Crm\Activity\Provider\Base::COMMUNICATION_TYPE_EMAIL - communications via email.

Parameters

ParameterDescriptionVersion
$providerTypeIdActivity type ID.

Example



© «Bitrix24», 2001-2024
Up