BxBaseStudioConfig.php 1.0 KB

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