TableRowCol.php 642 B

12345678910111213141516171819202122232425262728293031323334
  1. <?php
  2. namespace ModulesGarden\Servers\ProxmoxVps\Core\UI\Traits;
  3. /**
  4. * Icons related functions
  5. *
  6. * @author Sławomir Miśkowicz <slawomir@modulesgarden.com>
  7. */
  8. trait TableRowCol
  9. {
  10. protected $tableRowCol = 'lu-col-md-12';
  11. public function setTableRowCol($tableRowCol = null)
  12. {
  13. if ($tableRowCol)
  14. {
  15. $this->tableRowCol = $tableRowCol;
  16. }
  17. return $this;
  18. }
  19. public function disableTableRowCol()
  20. {
  21. $this->tableRowCol = null;
  22. return $this;
  23. }
  24. public function getTableRowCol()
  25. {
  26. return $this->tableRowCol;
  27. }
  28. }