CCrmActivityRestProxy::processMethodRequest

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

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