start of requestcontext work

git-svn-id: file:///home/shish/svn/shimmie2/trunk@753 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
shish
2008-04-04 12:07:38 +00:00
parent c88ec5fe54
commit df8efa475e
4 changed files with 29 additions and 9 deletions

View File

@@ -442,7 +442,7 @@ function _get_query_parts() {
return $parts;
}
function _get_page_request($page, $user) {
function _get_page_request($context) {
global $config;
$args = _get_query_parts();
@@ -460,7 +460,7 @@ function _get_page_request($page, $user) {
$args = array_slice($args, 1);
}
return new PageRequestEvent($page_name, $args, $page, $user);
return new PageRequestEvent($context, $page_name, $args);
}
function _get_user() {