CMS  Version 3.9
CommentManifest Class Reference

Static Public Member Functions

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

Public Attributes

 $allow_sessionless_handlers = true
 

Detailed Description

Definition at line 39 of file manifest.inc.

Member Function Documentation

◆ getAdminMenu()

static CommentManifest::getAdminMenu ( )
static

Definition at line 56 of file manifest.inc.

57  {
58  return array();
59  }

◆ getComponentDefinition()

static CommentManifest::getComponentDefinition ( )
static

Definition at line 41 of file manifest.inc.

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

◆ getScripts()

static CommentManifest::getScripts ( )
static

Definition at line 71 of file manifest.inc.

72  {
73  return array("/components/comment/js/comment.js");
74  }

◆ getStyles()

static CommentManifest::getStyles ( )
static

Definition at line 76 of file manifest.inc.

77  {
78  return array("/components/comment/css/comment.css");
79  }

◆ subscribeToEvents()

static CommentManifest::subscribeToEvents ( )
static

Definition at line 61 of file manifest.inc.

62  {
63  return array("Initialize" => array(CommentManager, onInitialize),
64  "ComponentScanComplete" => array(CommentManager, setDefaults),
65  "upgradeComponent" => array(CommentManager, upgradeComponent),
66  "DeleteUser" => array(CommentManager, deleteUser)
67  );
68  }

Member Data Documentation

◆ $allow_sessionless_handlers

CommentManifest::$allow_sessionless_handlers = true

Definition at line 54 of file manifest.inc.


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