BaseModal.php 727 B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. namespace ThurData\Servers\KerioEmail\Core\UI\Widget\Modals;
  3. use \ThurData\Servers\KerioEmail\Core\UI\Builder\BaseContainer;
  4. /**
  5. * BaseModal controller
  6. *
  7. * @autor ThurData <info@thurdata.ch>
  8. */
  9. class BaseModal extends BaseContainer
  10. {
  11. use \ThurData\Servers\KerioEmail\Core\UI\Traits\Forms;
  12. use \ThurData\Servers\KerioEmail\Core\UI\Traits\Modal;
  13. use \ThurData\Servers\KerioEmail\Core\UI\Traits\ModalActionButtons;
  14. protected $id = 'baseModal';
  15. protected $name = 'baseModal';
  16. protected $title = 'baseModal';
  17. public function runInitContentProcess()
  18. {
  19. if ($this->getRequestValue('ajax', false) == 1)
  20. {
  21. parent::runInitContentProcess();
  22. }
  23. }
  24. }