• Модуль: catalogmobile
  • Путь к файлу: ~/bitrix/modules/catalogmobile/lib/Controller/StoreDocumentDetails.php
  • Класс: Bitrix\CatalogMobile\Controller\StoreDocumentDetails
  • Вызов: StoreDocumentDetails::getEntityTitle
protected function getEntityTitle(): string
{
	$entityId = $this->findInSourceParametersList('entityId');
	if ($entityId)
	{
		$document = StoreDocumentTable::getList(['filter' => ['=ID' => $entityId]])->fetch();
		if ($document)
		{
			return $document['TITLE'] ?? '';
		}
	}

	return '';
}