• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/classes/general/main.php
  • Класс: CAllMain
  • Вызов: CAllMain::ShowAjaxHead
public function ShowAjaxHead($bXhtmlStyle = true, $showCSS = true, $showStrings = true, $showScripts = true)
{
	$this->RestartBuffer();
	$this->sPath2css = array();
	$this->arHeadAdditionalCSS = array();
	$this->arHeadAdditionalStrings = array();
	$this->arHeadAdditionalScripts = array();
	$this->arHeadScripts = array();
	$this->arHeadStrings = array();
	$this->bInAjax = true;

	$this->oAsset = $this->oAsset->setAjax();

	if($showCSS === true)
	{
		$this->ShowCSS(true, $bXhtmlStyle);
	}

	if($showStrings === true)
	{
		$this->ShowHeadStrings();
	}

	if($showScripts === true)
	{
		$this->ShowHeadScripts();
	}
}