CMS  Version 3.9
RedirectManifest Class Reference

Static Public Member Functions

static getComponentDefinition ()
 
static getAdminMenu ()
 
static subscribeToEvents ()
 

Detailed Description

Definition at line 7 of file manifest.inc.

Member Function Documentation

◆ getAdminMenu()

static RedirectManifest::getAdminMenu ( )
static

Definition at line 22 of file manifest.inc.

23  {
24  return array
25  (
26  "Site Configuration" => array
27  (
28 
29  "Redirects" => array("page" => "/admin/redirects",
30  "role" => "admin",
31  "weight" => 11,
32  "icon" => "redo-alt")
33  )
34  );
35  }

◆ getComponentDefinition()

static RedirectManifest::getComponentDefinition ( )
static

Definition at line 9 of file manifest.inc.

10  {
11  $component = new Component();
12  $component->name = "redirect";
13  $component->description = "Provides redirection for resources that change identifier or move to a different section or site";
14  $component->author = "Andy Green";
15  $component->version = "1.0";
16  $component->priority = 30;
17  $component->enabled = true;
18 
19  return $component;
20  }
$component
Definition: help.inc:38

◆ subscribeToEvents()

static RedirectManifest::subscribeToEvents ( )
static

Definition at line 37 of file manifest.inc.

38  {
39  return array(
40  "upgradeComponent" => array(RedirectManager, upgradeComponent),
41  "ComponentScanComplete" => array(RedirectManager, setDefaults),
42  "ResourceNotFound" => array(RedirectManager, handleRedirects),
43  "SectionNotFound" => array(RedirectManager, handleSectionRedirects),
44  "OverrideResource" => array(RedirectManager, handleOverrides),
45  "RegisterSerializationHandler" => array(RedirectManager, registerSerializationHandler)
46  );
47  }
Provides a central management class for event handlers and common functionality for the redirect comp...

The documentation for this class was generated from the following file: