EditForwardSection.php 813 B

12345678910111213141516171819202122232425262728293031323334
  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->generateSection(new Checkbox('Weiterleitung'));
  23. $this->generateSection(new Text('Ziel'));
  24. }
  25. }