...Человеческий поиск в разработке...
- Модуль: crm
- Путь к файлу: ~/bitrix/modules/crm/classes/general/restservice.php
- Класс: \CCrmQuoteRestProxy
- Вызов: CCrmQuoteRestProxy::processMethodRequest
public function processMethodRequest($name, $nameDetails, $arParams, $nav, $server) { $name = mb_strtoupper($name); if($name === 'PRODUCTROWS') { $nameSuffix = mb_strtoupper(!empty($nameDetails)? implode('_', $nameDetails) : ''); if($nameSuffix === 'GET') { return $this->getProductRows($this->resolveEntityID($arParams)); } elseif($nameSuffix === 'SET') { $ID = $this->resolveEntityID($arParams); $rows = $this->resolveArrayParam($arParams, 'rows'); return $this->setProductRows($ID, $rows); } } elseif($name === 'CONTACT') { $bindRequestDetails = $nameDetails; $bindRequestName = array_shift($bindRequestDetails); $bindingProxy = new CCrmEntityBindingProxy(CCrmOwnerType::Quote, CCrmOwnerType::Contact); return $bindingProxy->processMethodRequest($bindRequestName, $bindRequestDetails, $arParams, $nav, $server); } return parent::processMethodRequest($name, $nameDetails, $arParams, $nav, $server); }