1
0

BxDevNavigation.php 984 B

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