/**
  * Get all informations and save them in class
  */
 public function getinfo()
 {
     if (empty(self::$currentVariables)) {
         $url = new PWEL_URL();
         self::$currentVariables = $url->locateUrlVariables();
     }
     self::$currentController = PWEL_ROUTING::$ControllerInfo;
     self::$currentDisplayedFile = PWEL_CONTROLLER::$displayedFile;
     self::$currentComponents = PWEL_COMPONENTS::$components;
     self::$currentRegisteredObjects = PWEL::$registeredObjects;
     self::$currentConfig = PWEL::$config;
 }
 /**
  * Prepare the variables for the final step
  */
 private function prepareVars()
 {
     $url = new PWEL_URL();
     $this->url_variables = $url->locateUrlVariables();
     $i = 0;
     foreach ($this->setRoutes as $key => $value) {
         if (empty($this->url_variables[$i])) {
             $this->url_variables[$key] = $value;
             unset($this->url_variables[$i]);
         } else {
             $this->url_variables[$key] = $this->url_variables[$i];
             unset($this->url_variables[$i]);
         }
         ++$i;
     }
     if (class_exists('PWEL_ANALYZER')) {
         PWEL_ANALYZER::$currentVariables = $this->url_variables;
     }
     return $this->url_variables;
 }