config.php 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. <?php
  2. /**
  3. * Copyright (c) UNA, Inc - https://una.io
  4. * MIT License - https://opensource.org/licenses/MIT
  5. *
  6. * @defgroup Albums Albums
  7. * @ingroup UnaModules
  8. *
  9. * @{
  10. */
  11. $aConfig = array(
  12. /**
  13. * Main Section.
  14. */
  15. 'type' => BX_DOL_MODULE_TYPE_MODULE,
  16. 'name' => 'bx_albums',
  17. 'title' => 'Albums',
  18. 'note' => 'Albums, media collections',
  19. 'version' => '15.0.5',
  20. 'vendor' => 'UNA INC',
  21. 'help_url' => 'http://feed.una.io/?section={module_name}',
  22. 'compatible_with' => array(
  23. '15.0.0-RC3'
  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/albums/',
  29. 'home_uri' => 'albums',
  30. 'db_prefix' => 'bx_albums_',
  31. 'class_prefix' => 'BxAlbums',
  32. /**
  33. * Category for language keys.
  34. */
  35. 'language_category' => 'Albums',
  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_albums_files'
  55. ),
  56. /**
  57. * Transcoders.
  58. */
  59. 'transcoders' => array(
  60. 'bx_albums_preview',
  61. 'bx_albums_browse',
  62. 'bx_albums_big',
  63. 'bx_albums_video_poster_browse',
  64. 'bx_albums_video_poster_preview',
  65. 'bx_albums_video_poster_big',
  66. 'bx_albums_video_mp4',
  67. 'bx_albums_video_mp4_hd',
  68. ),
  69. /**
  70. * Extended Search Forms.
  71. */
  72. 'esearches' => array(
  73. 'bx_albums',
  74. 'bx_albums_media',
  75. 'bx_albums_cmts',
  76. 'bx_albums_media_cmts'
  77. ),
  78. /**
  79. * Installation/Uninstallation Section.
  80. */
  81. 'install' => array(
  82. 'execute_sql' => 1,
  83. 'update_languages' => 1,
  84. 'clear_db_cache' => 1,
  85. ),
  86. 'uninstall' => array (
  87. 'process_esearches' => 1,
  88. 'execute_sql' => 1,
  89. 'update_languages' => 1,
  90. 'update_relations' => 1,
  91. 'clear_db_cache' => 1,
  92. ),
  93. 'enable' => array(
  94. 'execute_sql' => 1,
  95. 'update_relations' => 1,
  96. 'clear_db_cache' => 1,
  97. ),
  98. 'enable_success' => array(
  99. 'process_menu_triggers' => 1,
  100. 'process_page_triggers' => 1,
  101. 'process_esearches' => 1,
  102. 'register_transcoders' => 1,
  103. 'clear_db_cache' => 1,
  104. ),
  105. 'disable' => array (
  106. 'execute_sql' => 1,
  107. 'update_relations' => 1,
  108. 'unregister_transcoders' => 1,
  109. 'clear_db_cache' => 1,
  110. ),
  111. 'disable_failed' => array (
  112. 'register_transcoders' => 1,
  113. 'clear_db_cache' => 1,
  114. ),
  115. /**
  116. * Dependencies Section
  117. */
  118. 'dependencies' => array(),
  119. /**
  120. * Connections Section
  121. */
  122. 'relations' => array(
  123. 'bx_timeline',
  124. 'bx_notifications'
  125. ),
  126. );
  127. /** @} */