private static function active($params, $path) { self::$last_path = $path; if (is_array($params)) { $params = array_reverse($params); foreach ($params as $key => $value) { if (preg_match('/\\<(.*)\\>/', $value, $mathes)) { Request::get($key, Request::get($mathes[1])); } else { Request::get($key, $value); } } } }