EditForwardSection.php 785 B

123456789101112131415161718192021222324252627282930313233
  1. <?php
  2. namespace ThurData\Servers\KerioEmail\App\UI\Client\EmailAccount\Sections;
  3. use ThurData\Servers\KerioEmail\App\Traits\FormExtendedTrait;
  4. use ThurData\Servers\KerioEmail\App\UI\Admin\Custom\Sections\FreeFieldsSection;
  5. use ThurData\Servers\KerioEmail\Core\UI\Widget\Forms\Fields\Text;
  6. use ThurData\Servers\KerioEmail\Core\UI\Widget\Forms\Fields\Checkbox;
  7. /**
  8. *
  9. * Created by PhpStorm.
  10. * User: ThurData
  11. * Date: 12.11.19
  12. * Time: 13:52
  13. * Class EditAdditionalSection
  14. */
  15. class EditForwardSection extends FreeFieldsSection
  16. {
  17. protected $id = 'editForwardSection';
  18. protected $name = 'editForwardSection';
  19. use FormExtendedTrait;
  20. public function initContent()
  21. {
  22. $this->generateDoubleSection([new Checkbox('forward'), new Text('target')]);
  23. }
  24. }