• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/classes/general/main.php
  • Класс: CAllMain
  • Вызов: CAllMain::AddViewContent
public function AddViewContent($view, $content, $pos = 500)
{
	if (!isset($this->__view[$view]) || !is_array($this->__view[$view]))
	{
		$this->__view[$view] = [[$content, $pos]];
	}
	else
	{
		$this->__view[$view][] = [$content, $pos];
	}
}