...Человеческий поиск в разработке...
- Модуль: crm
- Путь к файлу: ~/bitrix/modules/crm/lib/productrow.php
- Класс: Bitrix\Crm\ProductRow
- Вызов: ProductRow::getReference
protected function getReference(): ?EntityObject { if ($this->getProductId() <= 0) { return null; } if (!is_null($this->get(static::REFERENCE_FIELD_NAME))) { return $this->get(static::REFERENCE_FIELD_NAME); } if (is_null($this->reference)) { $this->reference = static::$referenceDataClass::getList([ 'select' => ['NAME'], 'filter' => ['=ID' => $this->getProductId()], ])->fetchObject(); } return $this->reference; }