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 = "connectable";
13  $component->description = "Implements a free-form relationship engine with navigation";
14  $component->author = "Andrew Green";
15  $component->version = "1.0";
16  $component->priority = 10;
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/connectable/css/..."
26  );
27  }
28 
29  static function getScripts()
30  {
31  return array(
32  //TODO: Add Javascript File References "/components/connectable/js/..."
33  );
34  }
35 
36  static function subscribeToEvents()
37  {
38  return array(
39  "upgradeComponent" => array(ConnectableManager, upgradeComponent),
40  "ComponentScanComplete" => array(ConnectableManager, setDefaults),
41  "Initialize" => array(ConnectableManager, onInitialize)
42  //TODO: Add Event Registrations here
43  );
44  }
45 }
46 ?>
$component
Definition: help.inc:38
Provides a central management class for event handlers and common functionality for the connectable c...
static getScripts()
Definition: manifest.inc:29
static getComponentDefinition()
Definition: manifest.inc:9
static getStyles()
Definition: manifest.inc:22
static subscribeToEvents()
Definition: manifest.inc:36