• Модуль: sender
  • Путь к файлу: ~/bitrix/modules/sender/lib/access/sectiondictionary.php
  • Класс: Bitrix\Sender\Access\SectionDictionary
  • Вызов: SectionDictionary::getTitle
static function getTitle(int $value)
{
	$sectionsList = self::getList();

	if (!array_key_exists($value, $sectionsList))
	{
		return '';
	}
	$title = $sectionsList[$value];

	return Loc::getMessage("SENDER_CONFIG_SECTIONS_".$title) ?? '';
}