CMS  Version 3.9
RssFeedManifest Class Reference

Static Public Member Functions

static getComponentDefinition ()
 
static getAdminMenu ()
 
static subscribeToEvents ()
 

Detailed Description

Definition at line 7 of file manifest.inc.

Member Function Documentation

◆ getAdminMenu()

static RssFeedManifest::getAdminMenu ( )
static

Definition at line 22 of file manifest.inc.

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  }

◆ getComponentDefinition()

static RssFeedManifest::getComponentDefinition ( )
static

Definition at line 9 of file manifest.inc.

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  }
$component
Definition: help.inc:38

◆ subscribeToEvents()

static RssFeedManifest::subscribeToEvents ( )
static

Definition at line 36 of file manifest.inc.

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  }

The documentation for this class was generated from the following file: