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 = "terms_and_conditions";
13  $component->description = "Terms and Conditions display and approval control";
14  $component->author = "Andrew Green";
15  $component->version = "1.0";
16  $component->priority = 10;
17  $component->enabled = true;
18 
19  return $component;
20  }
21 
23 
24  static function getStyles()
25  {
26  return array("/components/terms_and_conditions/css/terms_and_conditions.css");
27  }
28 
29  static function getScripts()
30  {
31  return array(
32  "/components/terms_and_conditions/js/terms_and_conditions.js"
33  );
34  }
35 
36  static function subscribeToEvents()
37  {
38  return array(
39  "ComponentScanComplete" => array(TermsAndConditionsManager, setDefaults)
40  //TODO: Add Event Registrations here
41  );
42  }
43 }
44 ?>
$component
Definition: help.inc:38
Provides a central management class for event handlers and common functionality for the terms_and_con...
static getComponentDefinition()
Definition: manifest.inc:9