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 = "process";
13  $component->description = "Provides support for spawning background process and retrieving information about their progress.";
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 getScripts()
30  {
31  return array(
32  "/components/process/js/background_process.js"
33  );
34  }
35 
36  static function getStyles()
37  {
38  return array(
39  "/components/process/css/process.css"
40  );
41  }
42 
43  static function subscribeToEvents()
44  {
45  return array(
46  "upgradeComponent" => array(ProcessManager, upgradeComponent),
47  "ComponentScanComplete" => array(ProcessManager, setDefaults)
48  //TODO: Add Event Registrations here
49  );
50  }
51 }
52 ?>
$component
Definition: help.inc:38
Provides a central management class for event handlers and common functionality for the process compo...
static subscribeToEvents()
Definition: manifest.inc:43
static getComponentDefinition()
Definition: manifest.inc:9
static getScripts()
Definition: manifest.inc:29
static getAdminMenu()
Definition: manifest.inc:22
static getStyles()
Definition: manifest.inc:36