| 123456789101112131415161718192021222324252627282930313233343536 |
- <?php
- namespace ThurData\Servers\KerioEmail\App\UI\Client\Setting\Sections;
- use ThurData\Servers\KerioEmail\App\Traits\FormExtendedTrait;
- use ThurData\Servers\KerioEmail\App\UI\Admin\Custom\Sections\FreeFieldsSection;
- use ThurData\Servers\KerioEmail\Core\UI\Widget\Forms\Fields\BaseField;
- use ThurData\Servers\KerioEmail\Core\UI\Widget\Forms\Fields\Text;
- /**
- *
- * Created by PhpStorm.
- * User: ThurData
- * Date: 12.11.19
- * Time: 13:42
- * Class AdditionalSection
- */
- class AdditionalSection extends FreeFieldsSection
- {
- protected $id = 'additionalSection';
- protected $name = 'additionalSection';
- use FormExtendedTrait;
- public function initContent()
- {
- $this->setInternalAlertMessage('Test8');
- $this->setInternalAlertMessageRaw(true);
- $sigdescr = new BaseField('Test5');
- $sigdescr->setPlaceholder('Test7');
- $this->generateDoubleSection([$sigdescr, new Text('test2')]);
- $this->generateDoubleSection([new Text('test3'), new Text('test4')]);
- }
- }
|