CCrmStatusInvoiceRestProxy::processMethodRequest

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. CCrmStatusInvoiceRestProxy
  4. processMethodRequest
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/classes/general/restservice.php
  • Класс: \CCrmStatusInvoiceRestProxy
  • Вызов: CCrmStatusInvoiceRestProxy::processMethodRequest
public function processMethodRequest($name, $nameDetails, $arParams, $nav, $server)
{
	$name = mb_strtoupper($name);
	if($name === 'STATUS')
	{
		$nameSuffix = mb_strtoupper(!empty($nameDetails)? implode('_', $nameDetails) : '');

		switch ($nameSuffix)
		{
			case 'FIELDS':
			case 'ADD':
			case 'GET':
			case 'LIST':
			case 'UPDATE':
			case 'DELETE':
				return parent::processMethodRequest($nameSuffix, '', $arParams, $nav, $server);
				break;
		}
	}
	return parent::processMethodRequest($name, $nameDetails, $arParams, $nav, $server);
}

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