BxMarkerIoModule.php 686 B

123456789101112131415161718192021222324252627282930313233
  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 Marker.io Marker.io
  7. * @ingroup UnaModules
  8. *
  9. * @{
  10. */
  11. class BxMarkerIoModule extends BxDolModule
  12. {
  13. function __construct($aModule)
  14. {
  15. parent::__construct($aModule);
  16. $this->_oConfig->init($this->_oDb);
  17. }
  18. /**
  19. * SERVICE METHODS
  20. */
  21. public function serviceIncludeCode()
  22. {
  23. if(BxDolTemplate::getInstance()->getPageNameIndex() != 0)
  24. return '';
  25. return $this->_oTemplate->getIncludeCode();
  26. }
  27. }
  28. /** @} */