CMS  Version 3.9
terms_and_conditions_manager.inc
Go to the documentation of this file.
1 <?php
14 {
16  {
17 
18  }
19 
20  static function setDefaults()
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  }
27 }
28 ?>
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
Provides a central management class for event handlers and common functionality for the terms_and_con...