CMS  Version 3.9
PhonegapManifest Class Reference

Static Public Member Functions

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

Detailed Description

Definition at line 7 of file manifest.inc.

Member Function Documentation

◆ getComponentDefinition()

static PhonegapManifest::getComponentDefinition ( )
static

Definition at line 9 of file manifest.inc.

10  {
11  $component = new Component();
12  $component->name = "phonegap";
13  $component->description = "Support for PhoneGap mobile applications";
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

◆ getScripts()

static PhonegapManifest::getScripts ( )
static

Definition at line 22 of file manifest.inc.

23  {
24  return array(
25  //TODO: Add Javascript File References "/components/phonegap/js/..."
26  );
27  }

◆ subscribeToEvents()

static PhonegapManifest::subscribeToEvents ( )
static

Definition at line 29 of file manifest.inc.

30  {
31  return array(
32  "ComponentScanComplete" => array(PhonegapManager, setDefaults),
33  "Initialize" => array(PhonegapManager, detectPhonegap),
34  "PostProcessScript" => array(PhonegapManager, addScript),
35  "RegisterPhonegapSupportScripts" => array(PhonegapManager, defaultSupportScripts)
36  );
37  }
Provides support for managing Phonegap apps.

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