BxDevModule.php 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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('BxDevPolyglot.php');
  17. require_once('BxDevPermissions.php');
  18. define('BX_DEV_TOOLS_GENERAL', 'general');
  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. public $aTools;
  26. function __construct($aModule) {
  27. parent::__construct($aModule);
  28. $this->aTools = array(
  29. array('name' => BX_DEV_TOOLS_GENERAL, 'title' => ''),
  30. array('name' => BX_DEV_TOOLS_FORMS, 'title' => ''),
  31. array('name' => BX_DEV_TOOLS_NAVIGATION, 'title' => ''),
  32. array('name' => BX_DEV_TOOLS_PAGES, 'title' => ''),
  33. array('name' => BX_DEV_TOOLS_POLYGLOT, 'title' => ''),
  34. //array('name' => BX_DEV_TOOLS_PERMISSIONS, 'title' => ''),
  35. );
  36. }
  37. function getToolsList() {
  38. return $this->aTools;
  39. }
  40. }
  41. /** @} */