ButtonDatatableShowModal.php 720 B

1234567891011121314151617181920212223242526
  1. <?php
  2. namespace ThurData\Servers\KerioEmail\Core\UI\Widget\Buttons;
  3. use \ThurData\Servers\KerioEmail\Core\UI\Interfaces\AjaxElementInterface;
  4. use \ThurData\Servers\KerioEmail\Core\UI\Widget\Modals\ExampleModal;
  5. /**
  6. * base button controller
  7. *
  8. * @autor ThurData <info@thurdata.ch>
  9. */
  10. class ButtonDatatableShowModal extends ButtonModal implements AjaxElementInterface
  11. {
  12. protected $id = 'baseDatatableModalButton';
  13. protected $title = 'baseDatatableModalButton';
  14. protected $htmlAttributes = [
  15. 'href' => 'javascript:;',
  16. 'data-toggle' => 'lu-tooltip',
  17. ];
  18. public function initContent()
  19. {
  20. $this->initLoadModalAction(new ExampleModal());
  21. }
  22. }