Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
registry.php
1<?php
2
3
5
6
8{
9 const CRM_ACTIVITY_ADD_NAME = 'CRM_ACTIVITY_ADD';
10 const CRM_DEAL_ADD_NAME = 'CRM_DEAL_ADD';
11 const CRM_DEAL_CONTACT_ITEMS_SET_NAME = 'CRM_DEAL_CONTACT_ITEMS_SET';
12 const CRM_DEAL_CONTACT_ITEMS_GET_NAME = 'CRM_DEAL_CONTACT_ITEMS_GET';
13 const CRM_COMPANY_LIST_NAME = 'CRM_COMPANY_LIST';
14 const CRM_COMPANY_ADD_NAME = 'CRM_COMPANY_ADD';
15 const CRM_CONTACT_LIST_NAME = 'CRM_CONTACT_LIST';
16 const CRM_CONTACT_ADD_NAME = 'CRM_CONTACT_ADD';
17 const CRM_TIMELINE_ONRECEIVE_NAME = 'CRM_TIMELINE_ONRECEIVE';
18 const APP_OPTIONS_ADD_NAME = 'APP_OPTIONS_ADD';
19 const APP_PLACEMENT_BIND_NAME = 'APP_PLACEMENT_BIND';
20 const APP_PLACEMENT_UNBIND_NAME = 'APP_PLACEMENT_UNBIND';
21 const SALE_INTEGRATION_STATISTIC_PROVIDER_LIST_NAME = 'SALE_INTEGRATION_STATISTIC_PROVIDER_LIST';
22 const SALE_INTEGRATION_STATISTIC_PROVIDER_ADD_NAME = 'SALE_INTEGRATION_STATISTIC_PROVIDER_ADD';
23 const SALE_INTEGRATION_STATISTIC_MODIFY_NAME = 'SALE_INTEGRATION_STATISTIC_MODIFY';
24
25 public static function getRegistry()
26 {
27 return [
28 Registry::CRM_ACTIVITY_ADD_NAME => 'crm.activity.add',
29 Registry::CRM_DEAL_ADD_NAME => 'crm.deal.add',
30 Registry::CRM_DEAL_CONTACT_ITEMS_SET_NAME => 'crm.deal.contact.items.set',
31 Registry::CRM_DEAL_CONTACT_ITEMS_GET_NAME => 'crm.deal.contact.items.get',
32 Registry::CRM_COMPANY_LIST_NAME => 'crm.company.list',
33 Registry::CRM_COMPANY_ADD_NAME => 'crm.company.add',
34 Registry::CRM_CONTACT_LIST_NAME => 'crm.contact.list',
35 Registry::CRM_CONTACT_ADD_NAME => 'crm.contact.add',
36 Registry::CRM_TIMELINE_ONRECEIVE_NAME => 'crm.api.timeline.onreceive',
37 Registry::APP_OPTIONS_ADD_NAME => 'app.option.set',
38 Registry::APP_PLACEMENT_BIND_NAME => 'placement.bind',
39 Registry::APP_PLACEMENT_UNBIND_NAME => 'placement.unbind',
40 Registry::SALE_INTEGRATION_STATISTIC_PROVIDER_LIST_NAME => 'sale.integration.statisticprovider.list',
41 Registry::SALE_INTEGRATION_STATISTIC_PROVIDER_ADD_NAME => 'sale.integration.statisticprovider.add',
42 Registry::SALE_INTEGRATION_STATISTIC_MODIFY_NAME => 'sale.integration.statistic.modify'
43 ];
44 }
45}