BxDevModule.php 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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('BxDolModule');
  12. require_once('BxDevForms.php');
  13. require_once('BxDevFunctions.php');
  14. require_once('BxDevBuilderPage.php');
  15. require_once('BxDevNavigation.php');
  16. require_once('BxDevPolyglot.php');
  17. require_once('BxDevPermissions.php');
  18. define('BX_DEV_TOOLS_SETTINGS', 'settings');
  19. define('BX_DEV_TOOLS_FORMS', 'forms');
  20. define('BX_DEV_TOOLS_PAGES', 'pages');
  21. define('BX_DEV_TOOLS_NAVIGATION', 'navigation');
  22. define('BX_DEV_TOOLS_POLYGLOT', 'polyglot');
  23. define('BX_DEV_TOOLS_PERMISSIONS', 'permissions');
  24. class BxDevModule extends BxDolModule
  25. {
  26. public $aTools;
  27. function __construct($aModule)
  28. {
  29. parent::__construct($aModule);
  30. $this->aTools = array(
  31. array('name' => BX_DEV_TOOLS_SETTINGS, 'title' => '', 'icon' => 'cogs'),
  32. array('name' => BX_DEV_TOOLS_FORMS, 'title' => '', 'icon' => 'bx-dev-mi-forms.png'),
  33. array('name' => BX_DEV_TOOLS_NAVIGATION, 'title' => '', 'icon' => 'bx-dev-mi-navigation.png'),
  34. array('name' => BX_DEV_TOOLS_PAGES, 'title' => '', 'icon' => 'bx-dev-mi-pages.png'),
  35. array('name' => BX_DEV_TOOLS_POLYGLOT, 'title' => '', 'icon' => 'bx-dev-mi-polyglot.png'),
  36. //array('name' => BX_DEV_TOOLS_PERMISSIONS, 'title' => '', 'icon' => 'bx-dev-mi-permissions.png'),
  37. );
  38. }
  39. function getToolsList()
  40. {
  41. return $this->aTools;
  42. }
  43. }
  44. /** @} */