• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/classes/general/task.php
  • Класс: CAllTask
  • Вызов: CAllTask::GetLangTitle
static function GetLangTitle($name, $module = "main")
{
	$descriptions = static::GetDescriptions($module);

	$nameUpper = strtoupper($name);

	if(isset($descriptions[$nameUpper]["title"]))
	{
		return $descriptions[$nameUpper]["title"];
	}

	return $name;
}