| 123456789101112131415161718192021222324252627282930313233343536 |
- <?php
- namespace ThurData\Servers\KerioEmail\Core\UI\Widget\Graphs\Settings;
- use ThurData\Servers\KerioEmail\Core\UI\Widget\Modals\BaseEditModal;
- /**
- * Description of SettingModal
- *
- * @autor ThurData <info@thurdata.ch>
- */
- class SettingModal extends BaseEditModal
- {
- protected $id = 'settingModal';
- protected $name = 'settingModal';
- protected $title = 'settingModal';
- protected $configFields = [];
-
- public function initContent()
- {
- $form = new SettingForm();
- $form->setConfigFields($this->configFields);
- $this->addForm($form);
- }
-
- public function setConfigFields($fieldsList = [])
- {
- if ($fieldsList)
- {
- $this->configFields = $fieldsList;
- }
-
- return $this;
- }
- }
|