BxBaseStudioConfig.php 1020 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  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 DolphinCore Dolphin Core
  7. * @{
  8. */
  9. bx_import('BxTemplConfig');
  10. class BxBaseStudioConfig extends BxTemplConfig {
  11. function __construct()
  12. {
  13. parent::__construct();
  14. $this->_aConfig['aLessConfig'] = array_merge($this->_aConfig['aLessConfig'], array(
  15. 'bx-margin' => '30px',
  16. 'bx-margin-sec' => '20px',
  17. 'bx-margin-thd' => '10px',
  18. 'bx-padding' => '30px',
  19. 'bx-padding-sec' => '20px',
  20. 'bx-padding-thd' => '10px',
  21. 'bx-size-widget' => '128px',
  22. 'bx-round-corners-radius-widget' => '32px',
  23. ));
  24. }
  25. public static function getInstance()
  26. {
  27. if(!isset($GLOBALS['bxDolClasses'][__CLASS__]))
  28. $GLOBALS['bxDolClasses'][__CLASS__] = new BxTemplStudioConfig();
  29. return $GLOBALS['bxDolClasses'][__CLASS__];
  30. }
  31. }
  32. /** @} */