30 $mgr->upgrade($version);
40 trace(
"Redirect: $path", 3);
51 $redirect->redirect_to.
"?".getCleanQueryString() :
52 $redirect->redirect_to.
"&".getCleanQueryString();
60 catch(DataNotFoundException $e)
86 trace(
"Redirect: $path", 3);
88 $overrides = Cache::get(
"resource_overrides");
92 $overrides = IndexedQuery::create(
Redirect,
"WHERE override=1 and active=1",
"redirect_from")->execute();
93 Cache::put(
"resource_overrides", $overrides);
96 if (array_key_exists(
$path, $overrides))
106 $redirect->redirect_to.
"?".getCleanQueryString() :
107 $redirect->redirect_to.
"&".getCleanQueryString();
static $requestURI
The initial request URI.
Provides a central management class for event handlers and common functionality for the redirect comp...
static handleRedirects($identifier)
static handleOverrides($identifier)
static handleSectionRedirects()
static upgradeComponent($version)
static registerSerializationHandler()
registerHandler($component, $title, $handler)
Registers a serialization handler for a component.
Provides a simple implementation of a SerializationHandler that can serialize a single DataItem class...