CMS  Version 3.9
RoleManifest 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 RoleManifest::getAdminMenu ( )
static

Definition at line 54 of file manifest.inc.

55  {
56  return array
57  (
58  "User Management" => array
59  (
60 
61  "Roles" => array("page" => "/admin/roles",
62  "role" => "admin",
63  "weight" => 2,
64  "icon" => "user-secret")
65  )
66  );
67  }

◆ getComponentDefinition()

static RoleManifest::getComponentDefinition ( )
static

Definition at line 41 of file manifest.inc.

42  {
43  $component = new Component();
44  $component->name = "role";
45  $component->description = "Role 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 RoleManifest::subscribeToEvents ( )
static

Definition at line 69 of file manifest.inc.

70  {
71  return array(
72  "upgradeComponent" => array(RoleManager, upgradeComponent),
73  "RegisterSerializationHandler" => array(RoleManager, registerSerializationHandler)
74  );
75  }

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