CMS  Version 3.9
MobileSettingsManifest Class Reference

Static Public Member Functions

static getComponentDefinition ()
 
static subscribeToEvents ()
 

Public Attributes

 $allow_sessionless_handlers = true
 

Detailed Description

Definition at line 7 of file manifest.inc.

Member Function Documentation

◆ getComponentDefinition()

static MobileSettingsManifest::getComponentDefinition ( )
static

Definition at line 9 of file manifest.inc.

10  {
11  $component = new Component();
12  $component->name = "mobile_settings";
13  $component->description = "Detects mobile browsers and implements mobile browser content-selection rules.";
14  $component->author = "Andy Green";
15  $component->version = "1.0";
16  $component->priority = 1;
17  $component->enabled = true;
18 
19  return $component;
20  }
$component
Definition: help.inc:38

◆ subscribeToEvents()

static MobileSettingsManifest::subscribeToEvents ( )
static

Definition at line 24 of file manifest.inc.

25  {
26  return array(
27  "ComponentScanComplete" => array(MobileSettingsManager, setDefaults),
28  "Initialize" => array(MobileSettingsManager, onInitialize),
29  "OverrideTemplate" => array(MobileSettingsManager, overrideTemplate),
30  "CheckUseMobile" => array(MobileSettingsManager, useMobile)
31  );
32  }
Provides a central management class for event handlers and common functionality for the mobile compon...

Member Data Documentation

◆ $allow_sessionless_handlers

MobileSettingsManifest::$allow_sessionless_handlers = true

Definition at line 22 of file manifest.inc.


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