...Человеческий поиск в разработке...
- Модуль: crm
- Путь к файлу: ~/bitrix/modules/crm/classes/general/restservice.php
- Класс: \CCrmTimelineBindingRestProxy
- Вызов: CCrmTimelineBindingRestProxy::processMethodRequest
public function processMethodRequest($name, $nameDetails, $arParams, $nav, $server) { $name = mb_strtoupper($name); if($name === 'BINDINGS') { $nameSuffix = mb_strtoupper(!empty($nameDetails)? implode('_', $nameDetails) : ''); if ($nameSuffix === 'LIST' || $nameSuffix === 'FIELDS' ) { return parent::processMethodRequest($nameSuffix, '', $arParams, $nav, $server); } elseif ($nameSuffix === 'BIND') { $fields = $this->resolveArrayParam($arParams, 'fields'); return $this->bind($fields); } elseif ($nameSuffix === 'UNBIND') { $fields = $this->resolveArrayParam($arParams, 'fields'); return $this->unbind($fields); } } throw new RestException('Method not found!', RestException::ERROR_METHOD_NOT_FOUND, CRestServer::STATUS_NOT_FOUND); }