...Человеческий поиск в разработке...
- Модуль: crm
- Путь к файлу: ~/bitrix/modules/crm/lib/binding/quotecontact.php
- Класс: Bitrix\Crm\Binding\QuoteContactTable
- Вызов: QuoteContactTable::hasContacts
static function hasContacts($quoteID) { $quoteID = (int)$quoteID; if($quoteID <= 0) { throw new Main\ArgumentException('Must be greater than zero', 'quoteID'); } $result = self::getList( array( 'select' => array('QUOTE_ID'), 'filter' => array('=QUOTE_ID' => $quoteID), 'limit' => 1 ) ); return is_array($result->fetch()); }