1
0

BxDevModule.php 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <? 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('BxDevPermissions.php');
  17. define('BX_DEV_TOOLS_GENERAL', 'general');
  18. define('BX_DEV_TOOLS_FORMS', 'forms');
  19. define('BX_DEV_TOOLS_PAGES', 'pages');
  20. define('BX_DEV_TOOLS_NAVIGATION', 'navigation');
  21. define('BX_DEV_TOOLS_PERMISSIONS', 'permissions');
  22. class BxDevModule extends BxDolModule {
  23. public $aTools;
  24. function BxDevModule($aModule) {
  25. parent::BxDolModule($aModule);
  26. $this->aTools = array(
  27. array('name' => BX_DEV_TOOLS_GENERAL, 'title' => ''),
  28. array('name' => BX_DEV_TOOLS_FORMS, 'title' => ''),
  29. array('name' => BX_DEV_TOOLS_NAVIGATION, 'title' => ''),
  30. array('name' => BX_DEV_TOOLS_PAGES, 'title' => ''),
  31. //array('name' => BX_DEV_TOOLS_PERMISSIONS, 'title' => ''),
  32. );
  33. }
  34. function getToolsList() {
  35. return $this->aTools;
  36. }
  37. }
  38. /** @} */