CatalogBuilder::getOfferVariables

  1. Bitrix24 API (v. 23.675.0)
  2. catalog
  3. CatalogBuilder
  4. getOfferVariables
  • Модуль: catalog
  • Путь к файлу: ~/bitrix/modules/catalog/lib/url/adminpage/catalogbuilder.php
  • Класс: BitrixCatalogUrlAdminPageCatalogBuilder
  • Вызов: CatalogBuilder::getOfferVariables
protected function getOfferVariables(int $entityId, int $productId, array $options = [], string $additional = ''): array
	{
		$replaces = $this->getExtendedVariables($options, $additional);
		$replaces['#PRODUCT_ID#'] = (string)$productId;
		$replaces['#ENTITY_ID#'] = (string)$entityId;
		$replaces['#ENTITY_FILTER#'] = $this->getEntityFilter($entityId);
		return $replaces;
	}

Добавить комментарий