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 = "rss_feed";
13  $component->description = "Component to consume and display RSS feeds";
14  $component->author = "Fiifi Baidoo";
15  $component->version = "1.1";
16  $component->priority = 10;
17  $component->enabled = true;
18 
19  return $component;
20  }
21 
22  static function getAdminMenu()
23  {
24  return array(
25  "Collaboration" => array
26  (
27 
28  "RSS Feeds" => array("page" => "/admin/rss_feed",
29  "role" => "admin,editor",
30  "weight" => 10,
31  "icon" => "rss")
32  )
33  );
34  }
35 
36  static function subscribeToEvents()
37  {
38  return array(
39  "upgradeComponent" => array(RssFeedManager, upgradeComponent),
40  "ComponentScanComplete" => array(RssFeedManager, setDefaults),
41  "RegisterScheduledTaskWorkers" => array(RssFeedManager, registerScheduledRSSWorkers)
42  //TODO: Add Event Registrations here
43  );
44  }
45 }
46 ?>
$component
Definition: help.inc:38
static subscribeToEvents()
Definition: manifest.inc:36
static getAdminMenu()
Definition: manifest.inc:22
static getComponentDefinition()
Definition: manifest.inc:9