RefreshAction.php 472 B

12345678910111213141516171819202122232425
  1. <?php
  2. namespace ModulesGarden\ProxmoxAddon\Core\UI\Traits;
  3. /**
  4. * Fields related functions
  5. *
  6. * @author Sławomir Miśkowicz <slawomir@modulesgarden.com>
  7. */
  8. trait RefreshAction
  9. {
  10. protected $refreshActionIds = [];
  11. public function getRefreshActionIds()
  12. {
  13. return $this->refreshActionIds;
  14. }
  15. public function addRefreshActionId($refreshActionId = null)
  16. {
  17. $this->refreshActionIds[] = $refreshActionId;
  18. return $this;
  19. }
  20. }