CMS
Version 3.9
manifest.inc
Go to the documentation of this file.
1
<?php
7
class
SvgManifest
8
{
9
static
function
getComponentDefinition
()
10
{
11
$component
=
new
Component
();
12
$component
->name =
"svg"
;
13
$component
->description =
"Support for embedding svg files directly into CMS pages"
;
14
$component
->author =
"Andy Green"
;
15
$component
->version =
"1.0"
;
16
$component
->priority = 10;
17
$component
->enabled =
true
;
18
19
return
$component
;
20
}
21
22
static
function
getAdminMenu
()
23
{
24
return
array(
25
//TODO: Admin Menu Item definitions
26
);
27
}
28
29
static
function
subscribeToEvents
()
30
{
31
return
array(
32
"ComponentScanComplete"
=> array(
SvgManager
, setDefaults),
33
"PostProcessContent"
=> array(
SvgManager
, substituteTags)
34
//TODO: Add Event Registrations here
35
);
36
}
37
}
38
?>
$component
$component
Definition:
help.inc:38
Component
Definition:
component.inc:42
SvgManager
Provides a central management class for event handlers and common functionality for the svg component...
Definition:
svg_manager.inc:14
SvgManifest
Definition:
manifest.inc:8
SvgManifest\subscribeToEvents
static subscribeToEvents()
Definition:
manifest.inc:29
SvgManifest\getComponentDefinition
static getComponentDefinition()
Definition:
manifest.inc:9
SvgManifest\getAdminMenu
static getAdminMenu()
Definition:
manifest.inc:22
code
cms.sonjara.com
cms
components
svg
manifest.inc
Generated on Tue Mar 23 2021 15:36:11 for CMS by
1.9.1