Index: trunk/core/kernel/utility/http_query.php =================================================================== diff -u -r8002 -r8005 --- trunk/core/kernel/utility/http_query.php (.../http_query.php) (revision 8002) +++ trunk/core/kernel/utility/http_query.php (.../http_query.php) (revision 8005) @@ -351,9 +351,11 @@ * set template name and sid in * desired application variables. * - * @access private + * @param string $env_var enviroment string value + * + * @access public */ - function processQueryString($env_var) + function processQueryString($env_var, $pass_name = 'passed') { // env=SID:TEMPLATE:m-1-1-1-1:l0-0-0:n-0-0-0:bb-0-0-1-1-1-0 $vars = Array (); @@ -368,7 +370,7 @@ if ($parts) { foreach ($parts as $mixed_part) { - $vars = array_merge_recursive2($vars, $this->parseEnvPart($mixed_part)); + $vars = array_merge_recursive2($vars, $this->parseEnvPart($mixed_part, $pass_name)); } } } @@ -380,7 +382,7 @@ return $vars; } - function parseEnvPart($mixed_part) + function parseEnvPart($mixed_part, $pass_name = 'passed') { // In-portal old style env conversion - adds '-' between prefix and first var $mixed_part = str_replace('_&+$$+&_', ':', $mixed_part); @@ -399,7 +401,7 @@ $query_map = $this->Application->EventManager->setQueryMap($prefix_special); $vars = Array (); - $vars['passed'] = implode(',', array_keys($this->Application->EventManager->queryMaps)); + $vars[$pass_name] = implode(',', array_keys($this->Application->EventManager->queryMaps)); // if config is not defined for prefix in QueryString, then don't process it if ($query_map) {