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