CMS  Version 3.9
manifest.inc
Go to the documentation of this file.
1 <?php
8 {
9  static function getComponentDefinition()
10  {
11  $component = new Component();
12  $component->name = "bookmark";
13  $component->description = "Simple internal bookmarking feature allowing users to bookmark pages";
14  $component->author = "Andy Green";
15  $component->version = "1.0";
16  $component->priority = 14;
17  $component->enabled = true;
18 
19  return $component;
20  }
21 
22  static function getStyles()
23  {
24  return array(
25  //TODO: Add CSS File References "/components/bookmark/css/..."
26  );
27  }
28 
29  static function getScripts()
30  {
31  return array(
32  "/components/bookmark/js/bookmark_manager.js"
33  );
34  }
35 
36  static function subscribeToEvents()
37  {
38  return array(
39  "upgradeComponent" => array(BookmarkManager, upgradeComponent),
40  "ComponentScanComplete" => array(BookmarkManager, setDefaults)
41  //TODO: Add Event Registrations here
42  );
43  }
44 }
45 ?>
$component
Definition: help.inc:38
Provides a central management class for event handlers and common functionality for the bookmark comp...
static getStyles()
Definition: manifest.inc:22
static getComponentDefinition()
Definition: manifest.inc:9
static subscribeToEvents()
Definition: manifest.inc:36
static getScripts()
Definition: manifest.inc:29