CMS  Version 3.9
TermsAndConditionsManifest Class Reference

Static Public Member Functions

static getComponentDefinition ()
 
static getStyles ()
 
static getScripts ()
 
static subscribeToEvents ()
 

Public Attributes

 $allow_sessionless_handlers = true
 

Detailed Description

Definition at line 7 of file manifest.inc.

Member Function Documentation

◆ getComponentDefinition()

static TermsAndConditionsManifest::getComponentDefinition ( )
static

Definition at line 9 of file manifest.inc.

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

◆ getScripts()

static TermsAndConditionsManifest::getScripts ( )
static

Definition at line 29 of file manifest.inc.

30  {
31  return array(
32  "/components/terms_and_conditions/js/terms_and_conditions.js"
33  );
34  }

◆ getStyles()

static TermsAndConditionsManifest::getStyles ( )
static

Definition at line 24 of file manifest.inc.

25  {
26  return array("/components/terms_and_conditions/css/terms_and_conditions.css");
27  }

◆ subscribeToEvents()

static TermsAndConditionsManifest::subscribeToEvents ( )
static

Definition at line 36 of file manifest.inc.

37  {
38  return array(
39  "ComponentScanComplete" => array(TermsAndConditionsManager, setDefaults)
40  //TODO: Add Event Registrations here
41  );
42  }
Provides a central management class for event handlers and common functionality for the terms_and_con...

Member Data Documentation

◆ $allow_sessionless_handlers

TermsAndConditionsManifest::$allow_sessionless_handlers = true

Definition at line 22 of file manifest.inc.


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