CCrmSettingsRestProxy::processMethodRequest

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

	return parent::processMethodRequest($name, $nameDetails, $arParams, $nav, $server);
}

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