CMS  Version 3.9
SectionManifest Class Reference

Static Public Member Functions

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

Detailed Description

Definition at line 39 of file manifest.inc.

Member Function Documentation

◆ getAdminMenu()

static SectionManifest::getAdminMenu ( )
static

Definition at line 54 of file manifest.inc.

55  {
56  return array
57  (
58  "Site Configuration" => array
59  (
60 
61  "Sections" => array("page" => "/admin/sections",
62  "role" => "admin",
63  "weight" => 2,
64  "icon" => "folder-open")
65  )
66  );
67  }

◆ getComponentDefinition()

static SectionManifest::getComponentDefinition ( )
static

Definition at line 41 of file manifest.inc.

42  {
43  $component = new Component();
44  $component->name = "section";
45  $component->description = "Section management for Fakoli/CMS";
46  $component->author = "Andy Green";
47  $component->version = "1.0";
48  $component->priority = 0;
49  $component->enabled = true;
50 
51  return $component;
52  }
$component
Definition: help.inc:38

◆ subscribeToEvents()

static SectionManifest::subscribeToEvents ( )
static

Definition at line 69 of file manifest.inc.

70  {
71  return array(
72  "upgradeComponent" => array(SectionManager, upgradeComponent),
73  "Initialize" => array(SectionContentManagerMap, onInitialize),
74  "RegisterSectionContentManagers" => array(SectionManager, registerSectionContentManager),
75  "RegisterSerializationHandler" => array(SectionManager, registerSerializationHandler),
76  "PermissionDeleted" => array(SectionManager, permissionDeleted)
77  );
78  }
Maintains the map of SectionContentManagers for different Section types.
SectionManager provides simple programmatic interface for managing registration of pages to sections.

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