• Модуль: intranet
  • Путь к файлу: ~/bitrix/modules/intranet/lib/component/userprofile/stresslevel.php
  • Класс: BitrixIntranetComponentUserProfileStressLevel
  • Вызов: StressLevel::getValueDescription
static function getValueDescription($type = '', $value = 0)
{
	$type = (
		!empty($type)
		&& in_array($type, self::TYPE_LIST)
			? self::getTypeCorrected($type, $value)
			: 'unknown'
	);

	return Loc::getMessage('INTRANET_USER_PROFILE_STRESSLEVEL_TYPE_TEXT_'.mb_strtoupper($type));
}