CMS  Version 3.9
ToolHintsManifest Class Reference

Static Public Member Functions

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

Public Attributes

 $allow_sessionless_handlers = true
 

Detailed Description

Definition at line 39 of file manifest.inc.

Member Function Documentation

◆ getAdminMenu()

static ToolHintsManifest::getAdminMenu ( )
static

Definition at line 53 of file manifest.inc.

54  {
55  return array
56  (
57  "Site Content" => array
58  (
59 
60  "Tool Hints" => array("page" => "/admin/tool_hints",
61  "role" => "admin",
62  "weight" => 11,
63  "icon" => "info-circle")
64  )
65  );
66  }

◆ getComponentDefinition()

static ToolHintsManifest::getComponentDefinition ( )
static

Definition at line 41 of file manifest.inc.

42  {
43  $component = new Component();
44  $component->name = "tool_hints";
45  $component->description = "Provides support for tool hints - dismissable blocks of popup content that provide introductory text";
46  $component->author = "Andrew Green";
47  $component->version = "1.0";
48  $component->priority = 20;
49  $component->enabled = true;
50 
51  return $component;
52  }
$component
Definition: help.inc:38

◆ getScripts()

static ToolHintsManifest::getScripts ( )
static

Definition at line 70 of file manifest.inc.

71  {
72  return array("/components/tool_hints/js/tool_hint.js");
73  }

◆ subscribeToEvents()

static ToolHintsManifest::subscribeToEvents ( )
static

Definition at line 76 of file manifest.inc.

77  {
78  return array(
79  "upgradeComponent" => array(ToolHintsManager, upgradeComponent),
80  "ComponentScanComplete" => array(ToolHintsManager, setDefaults),
81  "RegisterSerializationHandler" => array(ToolHintsManager, registerSerializationHandler)
82  //TODO: Add Event Registrations here
83  );
84  }
Provides a central management class for event handlers and common functionality for the tool_hints co...

Member Data Documentation

◆ $allow_sessionless_handlers

ToolHintsManifest::$allow_sessionless_handlers = true

Definition at line 68 of file manifest.inc.


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