...Человеческий поиск в разработке...
- Модуль: crm
- Путь к файлу: ~/bitrix/modules/crm/classes/general/restservice.php
- Класс: \CCrmLeadRestProxy
- Вызов: CCrmLeadRestProxy::registerEventBindings
static function registerEventBindings(array &$bindings) { if(!isset($bindings[CRestUtil::EVENTS])) { $bindings[CRestUtil::EVENTS] = array(); } $callback = array('CCrmLeadRestProxy', 'processEvent'); $bindings[CRestUtil::EVENTS]['onCrmLeadAdd'] = self::createEventInfo('crm', 'OnAfterCrmLeadAdd', $callback); $bindings[CRestUtil::EVENTS]['onCrmLeadUpdate'] = self::createEventInfo('crm', 'OnAfterCrmLeadUpdate', $callback); $bindings[CRestUtil::EVENTS]['onCrmLeadDelete'] = self::createEventInfo('crm', 'OnAfterCrmLeadDelete', $callback); // user field events $bindings[CRestUtil::EVENTS]['onCrmLeadUserFieldAdd'] = self::createEventInfo('crm', 'OnAfterCrmRestLeadUserFieldAdd', $callback); $bindings[CRestUtil::EVENTS]['onCrmLeadUserFieldUpdate'] = self::createEventInfo('crm', 'OnAfterCrmRestLeadUserFieldUpdate', $callback); $bindings[CRestUtil::EVENTS]['onCrmLeadUserFieldDelete'] = self::createEventInfo('crm', 'OnAfterCrmRestLeadUserFieldDelete', $callback); $bindings[CRestUtil::EVENTS]['onCrmLeadUserFieldSetEnumValues'] = self::createEventInfo('crm', 'OnAfterCrmRestLeadUserFieldSetEnumValues', $callback); }