config.php 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. <?php
  2. /**
  3. * Copyright (c) UNA, Inc - https://una.io
  4. * MIT License - https://opensource.org/licenses/MIT
  5. *
  6. * @defgroup Files Files
  7. * @ingroup UnaModules
  8. *
  9. * @{
  10. */
  11. $aConfig = array(
  12. /**
  13. * Main Section.
  14. */
  15. 'type' => BX_DOL_MODULE_TYPE_MODULE,
  16. 'name' => 'bx_files',
  17. 'title' => 'Files',
  18. 'note' => 'Files, documents',
  19. 'version' => '15.0.6.DEV',
  20. 'vendor' => 'UNA INC',
  21. 'help_url' => 'http://feed.una.io/?section={module_name}',
  22. 'compatible_with' => array(
  23. '15.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/files/',
  29. 'home_uri' => 'files',
  30. 'db_prefix' => 'bx_files_',
  31. 'class_prefix' => 'BxFiles',
  32. /**
  33. * Category for language keys.
  34. */
  35. 'language_category' => 'Files',
  36. /**
  37. * List of page triggers.
  38. */
  39. 'page_triggers' => array (
  40. 'trigger_page_profile_view_entry',
  41. ),
  42. /**
  43. * Menu triggers.
  44. */
  45. 'menu_triggers' => array(
  46. 'trigger_profile_view_submenu',
  47. 'trigger_group_view_submenu',
  48. ),
  49. /**
  50. * Storage objects to automatically delete files from upon module uninstallation.
  51. * Note. Don't add storage objects used in transcoder objects.
  52. */
  53. 'storages' => array(
  54. 'bx_files_files'
  55. ),
  56. /**
  57. * Transcoders.
  58. */
  59. 'transcoders' => array(
  60. 'bx_files_preview',
  61. 'bx_files_gallery',
  62. 'bx_files_sounds_mp3',
  63. 'bx_files_videos_poster',
  64. 'bx_files_videos_poster_preview',
  65. 'bx_files_videos_mp4',
  66. 'bx_files_videos_mp4_hd'
  67. ),
  68. /**
  69. * Extended Search Forms.
  70. */
  71. 'esearches' => array(
  72. 'bx_files',
  73. 'bx_files_cmts',
  74. ),
  75. /**
  76. * Installation/Uninstallation Section.
  77. */
  78. 'install' => array(
  79. 'execute_sql' => 1,
  80. 'update_languages' => 1,
  81. 'clear_db_cache' => 1,
  82. ),
  83. 'uninstall' => array (
  84. 'process_esearches' => 1,
  85. 'execute_sql' => 1,
  86. 'update_languages' => 1,
  87. 'update_relations' => 1,
  88. 'clear_db_cache' => 1,
  89. ),
  90. 'enable' => array(
  91. 'execute_sql' => 1,
  92. 'update_relations' => 1,
  93. 'clear_db_cache' => 1,
  94. ),
  95. 'enable_success' => array(
  96. 'process_menu_triggers' => 1,
  97. 'process_page_triggers' => 1,
  98. 'process_esearches' => 1,
  99. 'register_transcoders' => 1,
  100. 'clear_db_cache' => 1,
  101. ),
  102. 'disable' => array (
  103. 'execute_sql' => 1,
  104. 'update_relations' => 1,
  105. 'unregister_transcoders' => 1,
  106. 'clear_db_cache' => 1,
  107. ),
  108. 'disable_failed' => array (
  109. 'register_transcoders' => 1,
  110. 'clear_db_cache' => 1,
  111. ),
  112. /**
  113. * Dependencies Section
  114. */
  115. 'dependencies' => array(),
  116. /**
  117. * Relations Section
  118. */
  119. 'relations' => array(
  120. 'bx_timeline',
  121. 'bx_notifications',
  122. ),
  123. );
  124. /** @} */