CMS
Version 3.9
manifest.inc
Go to the documentation of this file.
1
<?php
7
class
SharingManifest
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
$component
Definition:
help.inc:38
Component
Definition:
component.inc:42
SharingManager
Provides a central management class for event handlers and common functionality for the sharing compo...
Definition:
sharing_manager.inc:21
SharingManifest
Definition:
manifest.inc:8
SharingManifest\getComponentDefinition
static getComponentDefinition()
Definition:
manifest.inc:9
SharingManifest\subscribeToEvents
static subscribeToEvents()
Definition:
manifest.inc:22
code
cms.sonjara.com
cms
components
sharing
manifest.inc
Generated on Tue Mar 23 2021 15:36:11 for CMS by
1.9.1