• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/classes/general/debuginfo.php
  • Класс: CDebugInfo
  • Вызов: CDebugInfo::Output
public function Output($rel_path = "", $path = "", $cache_type = "")
{
	$this->Stop($rel_path, $path, $cache_type);

	$result = '
'; $result .= ($rel_path <> "" ? $rel_path . ": " : "") . "" . round($this->arResult["TIME"], 4) . " " . Loc::getMessage("main_incl_file_sec").""; if ($this->arResult["QUERY_COUNT"]) { $result .= '; ' . Loc::getMessage("main_incl_file_sql") . ' ' . ($this->arResult["QUERY_COUNT"]) . ' (' . round($this->arResult["QUERY_TIME"], 4) . ' ' . Loc::getMessage("main_incl_file_sec") . ')'; } if ($this->arResult["CACHE_SIZE"]) { if ($this->arResult["CACHE"] && !empty($this->arResult["CACHE"])) { $result .= '; ' . Loc::getMessage("main_incl_cache_stat") . ' ' . CFile::FormatSize($this->arResult["CACHE_SIZE"], 0) . ''; } else { $result .= "; " . Loc::getMessage("main_incl_cache_stat") . " " . CFile::FormatSize($this->arResult["CACHE_SIZE"], 0) . ""; } } return $result . "
"; }