• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/classes/general/component_template.php
  • Класс: CBitrixComponentTemplate
  • Вызов: CBitrixComponentTemplate::createFrame
public function createFrame($id = null, $autoContainer = true)
{
	$this->frameMode = true;
	if (!is_string($id) || $id == '')
	{
		$id = $this->randString();
	}

	$frame = new BitrixMainCompositeBufferArea($id, $autoContainer);
	$this->frames[] = $frame;

	if ($this->__component && $this->__component->__parent)
	{
		$this->__component->__parent->addChildFrame($frame);
	}

	return $frame;
}