CMS  Version 3.9
CaptchaManifest Class Reference

Static Public Member Functions

static getComponentDefinition ()
 
static subscribeToEvents ()
 

Detailed Description

Definition at line 7 of file manifest.inc.

Member Function Documentation

◆ getComponentDefinition()

static CaptchaManifest::getComponentDefinition ( )
static

Definition at line 9 of file manifest.inc.

10  {
11  $component = new Component();
12  $component->name = "captcha";
13  $component->description = "Manages integration with Captcha services that attempt to reduce spam.";
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

◆ subscribeToEvents()

static CaptchaManifest::subscribeToEvents ( )
static

Definition at line 22 of file manifest.inc.

23  {
24  return array(
25  "ComponentScanComplete" => array(CaptchaManager, setDefaults),
26  "RegisterSettingsFormExtension" => array(CaptchaManager, registerSettingsFormExtension)
27  );
28  }
Provides a central management class for event handlers and common functionality for the captcha compo...

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