• Модуль: 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;
}