AlertSection.php 735 B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. namespace ModulesGarden\Servers\ProxmoxCloudVps\App\UI\Admin\Product\Sections;
  3. use ModulesGarden\Servers\ProxmoxCloudVps\Core\UI\Interfaces\AdminArea;
  4. use ModulesGarden\Servers\ProxmoxCloudVps\Core\UI\Traits\Alerts;
  5. use ModulesGarden\Servers\ProxmoxCloudVps\Core\UI\Widget\Forms\Sections\BoxSection;
  6. class AlertSection extends BoxSection implements AdminArea
  7. {
  8. use Alerts;
  9. public function __construct($mesage , $type ='info')
  10. {
  11. $this->internalAlertMessage = $mesage;
  12. $this->internalAlertMessageType = $type;
  13. parent::__construct('alertSection');
  14. }
  15. public function initContent()
  16. {
  17. // dump($this->getTemplateDir());
  18. // $this->getHtml();
  19. // die();
  20. }
  21. }