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 = "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
Definition: help.inc:38
Provides a central management class for event handlers and common functionality for the svg component...
Definition: svg_manager.inc:14
static subscribeToEvents()
Definition: manifest.inc:29
static getComponentDefinition()
Definition: manifest.inc:9
static getAdminMenu()
Definition: manifest.inc:22