...Человеческий поиск в разработке...
- Модуль: crm
- Путь к файлу: ~/bitrix/modules/crm/classes/general/restservice.php
- Класс: \CCrmMeasureRestProxy
- Вызов: CCrmMeasureRestProxy::registerEventBindings
static function registerEventBindings(array &$bindings) { if(!isset($bindings[CRestUtil::EVENTS])) { $bindings[CRestUtil::EVENTS] = array(); } $callback = array('CCrmMeasureRestProxy', 'processEvent'); $bindings[CRestUtil::EVENTS]['onCrmMeasureAdd'] = self::createEventInfo( 'catalog', 'MeasureOnAfterAdd', $callback ); $bindings[CRestUtil::EVENTS]['onCrmMeasureUpdate'] = self::createEventInfo( 'catalog', 'MeasureOnAfterUpdate', $callback ); $bindings[CRestUtil::EVENTS]['onCrmMeasureDelete'] = self::createEventInfo( 'catalog', 'MeasureOnAfterDelete', $callback ); }