CMS  Version 3.9
ConnectableManifest Class Reference

Static Public Member Functions

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

Detailed Description

Definition at line 7 of file manifest.inc.

Member Function Documentation

◆ getComponentDefinition()

static ConnectableManifest::getComponentDefinition ( )
static

Definition at line 9 of file manifest.inc.

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  }
$component
Definition: help.inc:38

◆ getScripts()

static ConnectableManifest::getScripts ( )
static

Definition at line 29 of file manifest.inc.

30  {
31  return array(
32  //TODO: Add Javascript File References "/components/connectable/js/..."
33  );
34  }

◆ getStyles()

static ConnectableManifest::getStyles ( )
static

Definition at line 22 of file manifest.inc.

23  {
24  return array(
25  //TODO: Add CSS File References "/components/connectable/css/..."
26  );
27  }

◆ subscribeToEvents()

static ConnectableManifest::subscribeToEvents ( )
static

Definition at line 36 of file manifest.inc.

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  }
Provides a central management class for event handlers and common functionality for the connectable c...

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