| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- <?php
- namespace ModulesGarden\Servers\KerioEmail\App\UI\Admin\ProductConfiguration\Pages\Sections;
- use ModulesGarden\Servers\KerioEmail\App\UI\Admin\Custom\Sections\BoxSectionExtended;
- use ModulesGarden\Servers\KerioEmail\Core\UI\Interfaces\AdminArea;
- use ModulesGarden\Servers\KerioEmail\Core\UI\Widget\Forms\Fields\Switcher;
- use ModulesGarden\Servers\KerioEmail\Core\UI\Widget\Forms\Sections\BoxSection;
- use ModulesGarden\Servers\KerioEmail\Core\UI\Widget\Forms\Sections\HalfPageSection;
- /**
- *
- * Created by PhpStorm.
- * User: Tomasz Bielecki ( tomasz.bi@modulesgarden.com )
- * Date: 29.08.19
- * Time: 08:35
- * Class MimeFeatures
- */
- class MimeFeatures extends BoxSectionExtended implements AdminArea
- {
- protected $id = 'mimeFeatures';
- protected $name = 'mimeFeatures';
- protected $title = 'mimeFeatures';
- public function initContent()
- {
- $this
- ->addSection($this->getLeftSection())
- ;
- }
- /**
- * @return HalfPageSection
- */
- public function getLeftSection()
- {
- $left = new HalfPageSection('left');
- $field = new Switcher('kerioFeatureSMIMEEnabled');
- $left->addField($field);
- return $left;
- }
- }
|