InfoButton.php 700 B

12345678910111213141516171819202122
  1. <?php
  2. namespace ThurData\Servers\KerioEmail\App\UI\Client\Setting\Buttons;
  3. use ThurData\Servers\KerioEmail\App\UI\Client\Setting\Modals\InfoModal;
  4. use ThurData\Servers\KerioEmail\Core\UI\Interfaces\ClientArea;
  5. use ThurData\Servers\KerioEmail\Core\UI\Widget\Buttons\ButtonDataTableModalAction;
  6. class InfoButton extends ButtonDataTableModalAction implements ClientArea
  7. {
  8. protected $icon = 'lu-zmdi lu-zmdi-info-outline';
  9. protected $id = "infoButton";
  10. protected $title = "infoButton";
  11. public function initContent()
  12. {
  13. $this->initIds('infoButton ');
  14. $this->initLoadModalAction(new InfoModal());
  15. $this->setDisableByColumnValue("mxactive", " unset");
  16. }
  17. }