Language::getList

  1. Bitrix24 API (v. 23.675.0)
  2. voximplant
  3. Language
  4. getList
  • Модуль: voximplant
  • Путь к файлу: ~/bitrix/modules/voximplant/lib/asr/language.php
  • Класс: Bitrix\Voximplant\Asr\Language
  • Вызов: Language::getList
static function getList()
{
	static $result = null;
	if(!is_array($result))
	{
		$result = array();
		$reflection = new \ReflectionClass(__CLASS__);
		$constants = $reflection->getConstants();
		foreach ($constants as $constantName)
		{
			$result[$constantName] = Loc::getMessage("VOX_ASR_LANGUAGE_" . $constantName);
		}
	}
	return $result;
}

Добавить комментарий