• Модуль: report
  • Путь к файлу: ~/bitrix/modules/report/lib/visualconstructor/fields/base.php
  • Класс: BitrixReportVisualConstructorFieldsBase
  • Вызов: Base::render
public function render()
{
	if (!$this->isDisplay())
	{
		return;
	}

	foreach ($this->js as $jsPath)
	{
		Asset::getInstance()->addJs($jsPath);
	}

	foreach ($this->css as $cssPath)
	{
		Asset::getInstance()->addCss($cssPath);
	}

	foreach ($this->inline as $inline)
	{
		//TODO
		Asset::getInstance()->addString($inline);
	}

	if ($this->getPrefix())
	{
		$this->getPrefix()->render();
	}

	$this->printContent();

	if ($this->getPostfix())
	{
		$this->getPostfix()->render();
	}

}