• Модуль: tasks
  • Путь к файлу: ~/bitrix/modules/tasks/lib/internals/useroption.php
  • Класс: BitrixTasksInternalsUserOption
  • Вызов: UserOption::getAllowedOptions
static function getAllowedOptions(): array
{
	$allowedOptions = [];

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

	return $allowedOptions;
}