BxDevNavigation.php 981 B

123456789101112131415161718192021222324252627282930313233343536
  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 Developer Developer
  7. * @ingroup DolphinModules
  8. *
  9. * @{
  10. */
  11. bx_import('BxTemplStudioNavigation');
  12. class BxDevNavigation extends BxTemplStudioNavigation {
  13. protected $oModule;
  14. protected $aParams;
  15. protected $aGridObjects = array(
  16. 'menus' => 'mod_dev_nav_menus',
  17. 'sets' => 'mod_dev_nav_sets',
  18. 'items' => 'mod_dev_nav_items'
  19. );
  20. function __construct($aParams) {
  21. parent::__construct(isset($aParams['page']) ? $aParams['page'] : '');
  22. $this->aParams = $aParams;
  23. $this->sSubpageUrl = $this->aParams['url'] . '&nav_page=';
  24. bx_import('BxDolModule');
  25. $this->oModule = BxDolModule::getInstance('bx_developer');
  26. $this->oModule->_oTemplate->addStudioCss(array('navigation.css'));
  27. }
  28. }
  29. /** @} */