CMS  Version 3.9
TermsAndConditionsManager Class Reference

Provides a central management class for event handlers and common functionality for the terms_and_conditions component. More...

Public Member Functions

 TermsAndConditionsManager ()
 

Static Public Member Functions

static setDefaults ()
 

Detailed Description

Provides a central management class for event handlers and common functionality for the terms_and_conditions component.

Definition at line 13 of file terms_and_conditions_manager.inc.

Member Function Documentation

◆ setDefaults()

static TermsAndConditionsManager::setDefaults ( )
static

Definition at line 20 of file terms_and_conditions_manager.inc.

21  {
22  Settings::setDefaultValue("terms_and_conditions", "require_acceptance", false, Boolean, "Set to true to require users to accept site terms and conditions", null, null, 1);
23  Settings::setDefaultValue("terms_and_conditions", "terms_page_identifier", "terms", String, "The page identifier of the page containing the terms and conditions text", null, null, 3);
24  Settings::setDefaultValue("terms_and_conditions", "title", "Terms And Conditions", String, "Title for the popup dialog", null, null, 2);
25  Settings::setDefaultValue("terms_and_conditions", "button_label", "", String, "The text to display on the acceptance button", null, null, 4);
26  }
static setDefaultValue($component, $name, $value, $field_type="String", $annotation="", $category="", $options="", $weight=0)
Sets the default value of the given component setting.
Definition: settings.inc:174

◆ TermsAndConditionsManager()

TermsAndConditionsManager::TermsAndConditionsManager ( )

Definition at line 15 of file terms_and_conditions_manager.inc.

16  {
17 
18  }

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