...Человеческий поиск в разработке...
- Модуль: crm
- Путь к файлу: ~/bitrix/modules/crm/classes/general/restservice.php
- Класс: \CCrmInvoiceRestProxy
- Вызов: CCrmInvoiceRestProxy::registerEventBindings
static function registerEventBindings(array &$bindings) { if(!isset($bindings[CRestUtil::EVENTS])) { $bindings[CRestUtil::EVENTS] = array(); } $callback = array('CCrmInvoiceRestProxy', 'processEvent'); // user field events $bindings[CRestUtil::EVENTS]['onCrmInvoiceUserFieldAdd'] = self::createEventInfo('crm', 'OnAfterCrmRestInvoiceUserFieldAdd', $callback); $bindings[CRestUtil::EVENTS]['onCrmInvoiceUserFieldUpdate'] = self::createEventInfo('crm', 'OnAfterCrmRestInvoiceUserFieldUpdate', $callback); $bindings[CRestUtil::EVENTS]['onCrmInvoiceUserFieldDelete'] = self::createEventInfo('crm', 'OnAfterCrmRestInvoiceUserFieldDelete', $callback); $bindings[CRestUtil::EVENTS]['onCrmInvoiceUserFieldSetEnumValues'] = self::createEventInfo('crm', 'OnAfterCrmRestInvoiceUserFieldSetEnumValues', $callback); }