src/MvcCore/Ext/Debugs/Tracys/RoutingPanel.php
protected function initMainApplicationProperties () {
		$this->app = & \MvcCore\Application::GetInstance();
		$this->router = & $this->app->GetRouter();
		$this->routes = & $this->router->GetRoutes();
		$this->currentRoute = $this->router->GetCurrentRoute();
		$this->request = & $this->app->GetRequest();
		$this->requestLang = $this->request->GetLang();
		$router = & $this->router;
		$ctrlParamName = $router::URL_PARAM_CONTROLLER;
		$actionParamName = $router::URL_PARAM_ACTION;
		$getParamsKeys = array_unique(array_merge(
			[$ctrlParamName => NULL, $actionParamName => NULL],
			$this->currentRoute ? $this->currentRoute->GetMatchedParams() : [],
			array_keys($_GET)
		));
		$this->requestParams = & $this->request->GetParams(['#[\<\>\'"]#' => ''], array_keys($getParamsKeys));
		if (method_exists($this->router, 'GetDefaultLang'))
			$this->defaultLang = $this->router->GetDefaultLang();
	}
protected function initMainApplicationProperties () {
		$this->app = & \MvcCore\Application::GetInstance();
		$this->router = & $this->app->GetRouter();
		$this->routes = & $this->router->GetRoutes();
		$this->currentRoute = $this->router->GetCurrentRoute();
		$this->request = & $this->app->GetRequest();
		$this->requestLang = $this->request->GetLang();
		$router = & $this->router;
		$ctrlParamName = $router::URL_PARAM_CONTROLLER;
		$actionParamName = $router::URL_PARAM_ACTION;
		$getParamsKeys = array_unique(array_merge(
			[$ctrlParamName => NULL, $actionParamName => NULL],
			$this->currentRoute ? $this->currentRoute->GetMatchedParams() : [],
			array_keys($_GET)
		));
		$this->requestParams = & $this->request->GetParams(['#[\<\>\'"]#' => ''], array_keys($getParamsKeys));
		if (method_exists($this->router, 'GetDefaultLang'))
			$this->defaultLang = $this->router->GetDefaultLang();
	}
Initialize main application properties into current `$this`
context: app, request, router, routes and current route.
@return void