• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/classes/general/component_util.php
  • Класс: CComponentUtil
  • Вызов: CComponentUtil::GetComponentsTree
static function GetComponentsTree($filterNamespace = false, $arNameFilter = false, $arFilter = false)
{
	$arTree = CComponentUtil::__GetComponentsTree($filterNamespace, $arNameFilter, $arFilter);

	CComponentUtil::__SortComponentsTree($arTree["#"]);

	return $arTree;
}