Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
PoliciesForm.inc.php
1 <?php
2 
16 import('lib.pkp.classes.controllers.tab.settings.form.ContextSettingsForm');
17 
19 
25  function PoliciesForm($wizardMode = false, $additionalSettings = array()) {
26  $settings = array_merge($additionalSettings, array(
27  'focusScopeDesc' => 'string',
28  'openAccessPolicy' => 'string',
29  'reviewPolicy' => 'string',
30  'copyrightNotice' => 'string',
31  'copyrightNoticeAgree' => 'bool',
32  'competingInterestsPolicy' => 'string',
33  'privacyStatement' => 'string'
34  ));
35 
36  AppLocale::requireComponents(LOCALE_COMPONENT_APP_COMMON);
37 
38  parent::ContextSettingsForm($settings, 'controllers/tab/settings/policies/form/policiesForm.tpl', $wizardMode);
39  }
40 
41 
42  //
43  // Implement template methods from Form.
44  //
48  function getLocaleFieldNames() {
49  return array('focusScopeDesc', 'openAccessPolicy', 'reviewPolicy', 'copyrightNotice', 'privacyStatement', 'competingInterestsPolicy');
50  }
51 }
52 
53 ?>
static requireComponents()
PoliciesForm($wizardMode=false, $additionalSettings=array())
Base class for forms that manage context settings data.
Form to edit policy information.