• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/engine/resolver.php
  • Класс: BitrixMainEngineResolver
  • Вызов: Resolver::getDefaultNamespaceByModule
static function getDefaultNamespaceByModule($module)
{
	$controllersConfig = Configuration::getInstance($module);
	if (!$controllersConfig['controllers'] || !isset($controllersConfig['controllers']['defaultNamespace']))
	{
		return null;
	}

	return $controllersConfig['controllers']['defaultNamespace'];
}