UserOptionController::getAllowedOptions

  1. Bitrix24 API (v. 23.675.0)
  2. tasks
  3. UserOptionController
  4. getAllowedOptions
  • Модуль: tasks
  • Путь к файлу: ~/bitrix/modules/tasks/lib/internals/project/useroption/useroptioncontroller.php
  • Класс: BitrixTasksInternalsProjectUserOptionUserOptionController
  • Вызов: UserOptionController::getAllowedOptions
private function getAllowedOptions(): array
{
	$allowedOptions = [];

	$reflect = new ReflectionClass(UserOptionTypeDictionary::class);
	foreach ($reflect->getConstants() as $option)
	{
		$allowedOptions[] = $option;
	}

	return $allowedOptions;
}

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