• Модуль: report
  • Путь к файлу: ~/bitrix/modules/report/lib/visualconstructor/analyticboard.php
  • Класс: BitrixReportVisualConstructorAnalyticBoard
  • Вызов: AnalyticBoard::__construct
public function __construct(string $boardId = '', array $options = [])
{
	$this->options = $options;

	if ($boardId)
	{
		$this->setBoardKey($boardId);

		$configurationButton = new BoardComponentButton(
			'bitrix:report.analytics.config.control',
			'',
			[
				'BOARD_ID' => $this->getBoardKey(),
				'BOARD_OPTIONS' => $this->getOptions(),
			]
		);
		$this->addButton($configurationButton);
		//$this->addButton(new BoardButton(' '));
	}
}