• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/engine/router.php
  • Класс: BitrixMainEngineRouter
  • Вызов: Router::getControllerAndAction
public function getControllerAndAction()
{
	if ($this->component)
	{
		return $this->getComponentControllerAndAction();
	}

	$this->includeModule($this->module);
	$controllerAndAction = Resolver::getControllerAndAction($this->vendor, $this->module, $this->action);
	if ($controllerAndAction)
	{
		return $controllerAndAction;
	}
	//default ajax class
	$ajaxClass = DefaultController::className();

	/** @see BitrixMainEngineController::__construct */
	return array(new $ajaxClass, $this->action);
}