17 import(
'lib.pkp.classes.form.Form');
43 parent::__construct($plugin->getTemplateResource(
'settingsForm.tpl'));
48 $this->
setData(
'pluginName', $plugin->getName());
49 $this->
setData(
'pluginJavaScriptPath', $plugin->getPluginPath());
68 $this->_pressId = $pressId;
84 $this->_plugin = $plugin;
97 $this->
setData($fieldName, $plugin->getSetting($pressId, $fieldName));
111 public function execute(...$functionArgs) {
115 $plugin->updateSetting($pressId, $fieldName, $this->
getData($fieldName), $fieldType);
117 parent::execute(...$functionArgs);
125 'browseNewReleases' =>
'bool',
126 'browseCategories' =>
'bool',
127 'browseSeries' =>
'bool',