...Человеческий поиск в разработке...
- Модуль: crm
- Путь к файлу: ~/bitrix/modules/crm/classes/general/restservice.php
- Класс: \CCrmRequisiteBankDetailRestProxy
- Вызов: CCrmRequisiteBankDetailRestProxy::innerDelete
protected function innerDelete($ID, &$errors, array $params = null) { $r = $this->getById($ID); if(!is_array($r)) { $errors[] = "The RequisiteBankDetail with ID '{$ID}' is not found"; return false; } if(!EntityBankDetail::checkDeletePermissionOwnerEntity($r['ENTITY_TYPE_ID'], $r['ENTITY_ID'])) { $errors[] = 'Access denied.'; return false; } $entity = self::getEntity(); $result = $entity->delete($ID); if(!$result->isSuccess()) { $errors[] = $result->getErrors(); } return $result->isSuccess(); }