• Модуль: tasks
  • Путь к файлу: ~/bitrix/modules/tasks/lib/util/userfield/ui.php
  • Класс: BitrixTasksUtilUserFieldUI
  • Вызов: UI::getClass
static function getClass($dataType)
{
	$dataType = trim((string)$dataType);
	if ($dataType == '')
	{
		throw new BitrixMainArgumentException('$dataType could not be empty');
	}
	$dataType = str_replace('_', '', $dataType);

	$className = __NAMESPACE__ . '\ui\' . $dataType;
	if (!class_exists($className))
	{
		return __CLASS__;
	}

	return $className;
}