• Модуль: report
  • Путь к файлу: ~/bitrix/modules/report/lib/visualconstructor/handler/basewidget.php
  • Класс: BitrixReportVisualConstructorHandlerfor
  • Вызов: for::fillWidget
public function fillWidget(Widget $widget)
{
	$viewHandler = ViewProvider::getViewByViewKey($widget->getViewKey());
	if ($viewHandler)
	{
		$this->setView($viewHandler);
	}
	$this->setWidget($widget);
	$this->setConfigurations($widget->getConfigurations());
	$this->getCollectedFormElements();
	$this->fillFormElementValues();
	if ($widget->getReports())
	{
		foreach ($widget->getReports() as $report)
		{
			$this->reportHandlerList[] = $report->getReportHandler();
		}
	}
}