BxBaseModGeneralConfig.php 966 B

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <?php defined('BX_DOL') or die('hack attempt');
  2. /**
  3. * Copyright (c) BoonEx Pty Limited - http://www.boonex.com/
  4. * CC-BY License - http://creativecommons.org/licenses/by/3.0/
  5. *
  6. * @defgroup BaseGeneral Base classes for modules
  7. * @ingroup DolphinModules
  8. *
  9. * @{
  10. */
  11. bx_import('BxDolModuleConfig');
  12. class BxBaseModGeneralConfig extends BxDolModuleConfig
  13. {
  14. public $CNF;
  15. protected $_aJsClass;
  16. protected $_aJsObjects;
  17. protected $_aGridObjects;
  18. function __construct($aModule)
  19. {
  20. parent::__construct($aModule);
  21. }
  22. public function getJsClass($sType)
  23. {
  24. return isset($this->_aJsClass[$sType]) ? $this->_aJsClass[$sType] : '';
  25. }
  26. public function getJsObject($sType)
  27. {
  28. return isset($this->_aJsObjects[$sType]) ? $this->_aJsObjects[$sType] : '';
  29. }
  30. public function getGridObject($sType)
  31. {
  32. return isset($this->_aGridObjects[$sType]) ? $this->_aGridObjects[$sType] : '';
  33. }
  34. }
  35. /** @} */