BxBaseLiveUpdatesServices.php 631 B

12345678910111213141516171819202122232425262728293031
  1. <?php defined('BX_DOL') or die('hack attempt');
  2. /**
  3. * Copyright (c) UNA, Inc - https://una.io
  4. * MIT License - https://opensource.org/licenses/MIT
  5. *
  6. * @defgroup UnaBaseView UNA Base Representation Classes
  7. * @{
  8. */
  9. /**
  10. * System services related to Live Updates.
  11. */
  12. class BxBaseLiveUpdatesServices extends BxDol
  13. {
  14. public function __construct()
  15. {
  16. parent::__construct();
  17. }
  18. public function serviceInit()
  19. {
  20. $sContent = '';
  21. if(($oLiveUpdates = BxDolLiveUpdates::getInstance()) !== false)
  22. $sContent .= $oLiveUpdates->init();
  23. return $sContent;
  24. }
  25. }
  26. /** @} */