Set the current 'page view' that is being displayed so that it is easy for other modules or the theme to identify.
function &views_set_page_view($view = NULL) {
static $cache = NULL;
if (isset($view)) {
$cache = $view;
}
return $cache;
}