config.php 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. <?php
  2. /**
  3. * Copyright (c) UNA, Inc - https://una.io
  4. * MIT License - https://opensource.org/licenses/MIT
  5. *
  6. * @defgroup Classes Classes
  7. * @ingroup UnaModules
  8. *
  9. * @{
  10. */
  11. $aConfig = array(
  12. /**
  13. * Main Section.
  14. */
  15. 'type' => BX_DOL_MODULE_TYPE_MODULE,
  16. 'name' => 'bx_classes',
  17. 'title' => 'Classes',
  18. 'note' => 'Classes module.',
  19. 'version' => '11.0.0.DEV',
  20. 'vendor' => 'BoonEx',
  21. 'help_url' => 'http://feed.una.io/?section={module_name}',
  22. 'compatible_with' => array(
  23. '11.0.x'
  24. ),
  25. /**
  26. * 'home_dir' and 'home_uri' - should be unique. Don't use spaces in 'home_uri' and the other special chars.
  27. */
  28. 'home_dir' => 'boonex/classes/',
  29. 'home_uri' => 'classes',
  30. 'db_prefix' => 'bx_classes_',
  31. 'class_prefix' => 'BxClss',
  32. /**
  33. * Category for language keys.
  34. */
  35. 'language_category' => 'Classes',
  36. /**
  37. * List of page triggers.
  38. */
  39. 'page_triggers' => array (
  40. 'trigger_page_group_view_entry',
  41. ),
  42. /**
  43. * Menu triggers.
  44. */
  45. 'menu_triggers' => array(
  46. 'trigger_group_view_submenu',
  47. ),
  48. /**
  49. * Storage objects to automatically delete files from upon module uninstallation.
  50. * Note. Don't add storage objects used in transcoder objects.
  51. */
  52. 'storages' => array(
  53. 'bx_classes_covers',
  54. 'bx_classes_photos',
  55. 'bx_classes_videos',
  56. 'bx_classes_sounds',
  57. 'bx_classes_files'
  58. ),
  59. /**
  60. * Transcoders.
  61. */
  62. 'transcoders' => array(
  63. 'bx_classes_preview',
  64. 'bx_classes_gallery',
  65. 'bx_classes_cover',
  66. 'bx_classes_preview_photos',
  67. 'bx_classes_gallery_photos',
  68. 'bx_classes_videos_poster',
  69. 'bx_classes_videos_poster_preview',
  70. 'bx_classes_videos_mp4',
  71. 'bx_classes_videos_mp4_hd',
  72. 'bx_classes_sounds_mp3',
  73. 'bx_classes_preview_files',
  74. 'bx_classes_gallery_files'
  75. ),
  76. /**
  77. * Extended Search Forms.
  78. */
  79. 'esearches' => array(
  80. 'bx_classes',
  81. 'bx_classes_cmts'
  82. ),
  83. /**
  84. * Installation/Uninstallation Section.
  85. */
  86. 'install' => array(
  87. 'execute_sql' => 1,
  88. 'update_languages' => 1,
  89. 'clear_db_cache' => 1,
  90. ),
  91. 'uninstall' => array (
  92. 'process_esearches' => 1,
  93. 'execute_sql' => 1,
  94. 'update_languages' => 1,
  95. 'update_relations' => 1,
  96. 'clear_db_cache' => 1,
  97. ),
  98. 'enable' => array(
  99. 'execute_sql' => 1,
  100. 'update_relations' => 1,
  101. 'clear_db_cache' => 1,
  102. ),
  103. 'enable_success' => array(
  104. 'process_menu_triggers' => 1,
  105. 'process_page_triggers' => 1,
  106. 'process_esearches' => 1,
  107. 'register_transcoders' => 1,
  108. 'clear_db_cache' => 1,
  109. ),
  110. 'disable' => array (
  111. 'execute_sql' => 1,
  112. 'update_relations' => 1,
  113. 'unregister_transcoders' => 1,
  114. 'clear_db_cache' => 1,
  115. ),
  116. 'disable_failed' => array (
  117. 'register_transcoders' => 1,
  118. 'clear_db_cache' => 1,
  119. ),
  120. /**
  121. * Dependencies Section
  122. */
  123. 'dependencies' => array(),
  124. /**
  125. * Relations Section
  126. */
  127. 'relations' => array(
  128. 'bx_timeline',
  129. 'bx_notifications'
  130. ),
  131. );
  132. /** @} */