Documentation

Provider

\Bitrix\Crm\Provider name subspace contains classes for handling activity provider.

Class Description Available from version
Base Base class for handling activity provider.
Call Handles calls.
CallList Handles call list.
ExternalChannel Handles external channels.
Livefeed Handles history in CRM entity details.
OpenLine Class handles Open Channels.
ProviderManager Handles activity providers.
Sms Handles SMS.
Visit Handles offline customer visits.
Wait Handles Wait activity.

To register activity provider, subscribe to the event OnGetActivityProviders:

RegisterModuleDependences('crm', 'OnGetActivityProviders', 'my_module', 'myClass', 'getActivityProviders');

your method myClass::getActivityProviders must returns array in the following format:

array(
    'MY_MODULE_PROVIDER_ID' => '\Bitrix\MyModule\Activity\Provider\MyProvider'
)

where array key is provider ID, value - provider class name (must be descendant to \Bitrix\Crm\Activity\Provider\Base).



© «Bitrix24», 2001-2024