CCrmInvoiceRecurringRestProxy::registerEventBindings

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. CCrmInvoiceRecurringRestProxy
  4. registerEventBindings
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/classes/general/restservice.php
  • Класс: \CCrmInvoiceRecurringRestProxy
  • Вызов: CCrmInvoiceRecurringRestProxy::registerEventBindings
static function registerEventBindings(array &$bindings)
{
	if(!isset($bindings[CRestUtil::EVENTS]))
	{
		$bindings[CRestUtil::EVENTS] = array();
	}

	$callback = ['CCrmInvoiceRecurringRestProxy', 'processEvent'];

	$bindings[CRestUtil::EVENTS]['onCrmInvoiceRecurringAdd'] = self::createEventInfo('crm', 'OnAfterCrmInvoiceRecurringAdd', $callback);
	$bindings[CRestUtil::EVENTS]['onCrmInvoiceRecurringUpdate'] = self::createEventInfo('crm', 'OnAfterCrmInvoiceRecurringUpdate', $callback);
	$bindings[CRestUtil::EVENTS]['onCrmInvoiceRecurringDelete'] = self::createEventInfo('crm', 'OnAfterCrmInvoiceRecurringDelete', $callback);
	$bindings[CRestUtil::EVENTS]['onCrmInvoiceRecurringExpose'] = self::createEventInfo('crm', 'OnAfterCrmInvoiceRecurringExpose', $callback);
}

Добавить комментарий