function test2()
 {
     PWEL_COMPONENT_LAYOUT::enableLayout();
     print '<a href="../eng/start">Test Link!</a>';
     $x = new PWEL_URL();
     var_dump($x->locateUrlVariables(), PWEL_COMPONENT_ROUTE::$variables);
 }
 public function __destruct()
 {
     PWEL_COMPONENT_LAYOUT::addVariables($this);
 }
 /**
  * Enables the function on controller method
  */
 static function enableLayout()
 {
     self::$visible = true;
 }