• Модуль: report
  • Путь к файлу: ~/bitrix/modules/report/lib/visualconstructor/internal/manager/widgetmanager.php
  • Класс: BitrixReportVisualConstructorInternalManagerWidgetManager
  • Вызов: WidgetManager::call
public function call()
{
	if (!self::$called)
	{
		/** @var BaseWidget[] $widgets */
		$widgets = $this->getResult();
		foreach ($widgets as $key => $widget)
		{
			self::$widgetsList[$key] = $widget;
			self::$indices['widgetClassName'][$widget::getClassName()][] = $key;
		}
	}
	self::$called = true;
}