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 = "sharing";
13  $component->description = "Provides a mechanism for sharing work products without a login";
14  $component->author = "Andy Green";
15  $component->version = "1.0";
16  $component->priority = 20;
17  $component->enabled = true;
18 
19  return $component;
20  }
21 
22  static function subscribeToEvents()
23  {
24  return array(
25  "upgradeComponent" => array(SharingManager, upgradeComponent),
26  "ComponentScanComplete" => array(SharingManager, setDefaults),
27  "RegisterSectionContentManagers" => array(SharingManager, registerSectionContentManager),
28  "PostProcessContent" => array(SharingManager, embedSharedItem)
29  //TODO: Add Event Registrations here
30  );
31  }
32 }
33 ?>
$component
Definition: help.inc:38
Provides a central management class for event handlers and common functionality for the sharing compo...
static getComponentDefinition()
Definition: manifest.inc:9
static subscribeToEvents()
Definition: manifest.inc:22