|
Bitrix - ShowHead()
Bitrix - ShowHead()
ShowHead() - выводит в шаблоне сайта основных полей тега head
1 2 3 4 5 6
|
<?php
// Метод предназначен для вывода в шаблоне сайта основных полей тега <head> $APPLICATION->ShowHead();
?>
|
Сама функция
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
|
<?php
// CMain::ShowHead() // /bitrix/modules/main/classes/general/main.php:843
public function ShowHead($bXhtmlStyle=true) { echo '<meta http-equiv="Content-Type" content="text/html;'. 'charset='.LANG_CHARSET.'"'.($bXhtmlStyle? ' /':'').'>'."n"; $this->ShowMeta("robots", false, $bXhtmlStyle); $this->ShowMeta("keywords", false, $bXhtmlStyle); $this->ShowMeta("description", false, $bXhtmlStyle); $this->ShowLink("canonical", null, $bXhtmlStyle); $this->ShowCSS(true, $bXhtmlStyle); $this->ShowHeadStrings(); $this->ShowHeadScripts(); }
?>
|
|