QuestionTypes::getList

  1. Bitrix24 API (v. 23.675.0)
  2. vote
  3. QuestionTypes
  4. getList
  • Модуль: vote
  • Путь к файлу: ~/bitrix/modules/vote/lib/questiontypes.php
  • Класс: BitrixVoteQuestionTypes
  • Вызов: QuestionTypes::getList
static function getList()
{
	$res = (new ReflectionClass(__CLASS__))->getConstants();
	$result = array();
	foreach ($res as $code => $id)
	{
		$result[$id] = Loc::getMessage("VOTE_QUESTION_TYPE_".$code);
	}
	return $result;
}

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