Base::processBeforeAction

  1. Bitrix24 API (v. 23.675.0)
  2. catalog
  3. Base
  4. processBeforeAction
  • Модуль: catalog
  • Путь к файлу: ~/bitrix/modules/catalog/lib/controller/product/base.php
  • Класс: BitrixCatalogControllerProductBase
  • Вызов: Base::processBeforeAction
protected function processBeforeAction(Action $action)
{
	$arguments = $action->getArguments();
	$name = $action->getName();

	if ($name === 'getfieldsbyfilter')
	{
		$arguments['filter']['productType'] = static::TYPE;
		$action->setArguments($arguments);
	}

	return parent::processBeforeAction($action);
}

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