• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/classes/general/main.php
  • Класс: CAllMain
  • Вызов: CAllMain::GetTitle
public function GetTitle($property_name = false, $strip_tags = false)
{
	if($property_name!==false && $this->GetProperty($property_name) <> '')
		$res = $this->GetProperty($property_name);
	else
		$res = $this->sDocTitle;
	if($strip_tags && is_string($res))
		return strip_tags($res);
	return $res;
}