| 123456789101112131415161718192021222324252627282930313233343536373839 |
- <?php
- namespace ModulesGarden\Servers\KerioEmail\App\UI\Client\DistributionList\Sections;
- use ModulesGarden\Servers\KerioEmail\App\UI\Admin\Custom\Sections\FreeFieldsSection;
- use ModulesGarden\Servers\KerioEmail\Core\UI\Widget\Forms\Fields\Select;
- use ModulesGarden\Servers\KerioEmail\Core\UI\Widget\Forms\Fields\Switcher;
- /**
- *
- * Created by PhpStorm.
- * User: Tomasz Bielecki ( tomasz.bi@modulesgarden.com )
- * Date: 13.11.19
- * Time: 14:17
- * Class EditPropertiesDistribution
- */
- class EditPropertiesDistribution extends FreeFieldsSection
- {
- protected $id = 'addPropertiesDistribution';
- protected $name = 'addPropertiesDistribution';
- public function initContent()
- {
- $this->addField(new Switcher('receiveMail'));
- $this->addField(new Switcher('hideGal'));
- // $this->addField((new Switcher('dynamicGroup'))
- // ->addHtmlAttribute('@change', "initReloadModal()"));
- $this->addField(new Select('subscriptionRequest'));
- $this->addField(new Select('unsubscriptionRequest'));
- $this->addField(new Switcher('sharesNotify'));
- }
- }
|