config.php 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. <?php
  2. /**
  3. * Copyright (c) UNA, Inc - https://una.io
  4. * MIT License - https://opensource.org/licenses/MIT
  5. * @defgroup Tasks Tasks
  6. * @ingroup UnaModules
  7. *
  8. * @{
  9. */
  10. $aConfig = array(
  11. /**
  12. * Main Section.
  13. */
  14. 'type' => BX_DOL_MODULE_TYPE_MODULE,
  15. 'name' => 'bx_tasks',
  16. 'title' => 'Tasks',
  17. 'note' => 'Tasks module.',
  18. 'version' => '12.0.3.DEV',
  19. 'vendor' => 'BoonEx',
  20. 'help_url' => 'http://feed.una.io/?section={module_name}',
  21. 'compatible_with' => array(
  22. '12.0.x'
  23. ),
  24. /**
  25. * 'home_dir' and 'home_uri' - should be unique. Don't use spaces in 'home_uri' and the other special chars.
  26. */
  27. 'home_dir' => 'boonex/tasks/',
  28. 'home_uri' => 'tasks',
  29. 'db_prefix' => 'bx_tasks_',
  30. 'class_prefix' => 'BxTasks',
  31. /**
  32. * Category for language keys.
  33. */
  34. 'language_category' => 'Tasks',
  35. /**
  36. * List of page triggers.
  37. */
  38. 'page_triggers' => array (
  39. 'trigger_page_profile_view_entry',
  40. ),
  41. /**
  42. * Menu triggers.
  43. */
  44. 'menu_triggers' => array(
  45. 'trigger_profile_view_submenu',
  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_tasks_covers',
  54. 'bx_tasks_photos',
  55. 'bx_tasks_videos',
  56. 'bx_tasks_files'
  57. ),
  58. /**
  59. * Transcoders.
  60. */
  61. 'transcoders' => array(
  62. 'bx_tasks_preview',
  63. 'bx_tasks_gallery',
  64. 'bx_tasks_cover',
  65. 'bx_tasks_preview_photos',
  66. 'bx_tasks_gallery_photos',
  67. 'bx_tasks_videos_poster',
  68. 'bx_tasks_videos_poster_preview',
  69. 'bx_tasks_videos_mp4',
  70. 'bx_tasks_videos_mp4_hd',
  71. 'bx_tasks_preview_files',
  72. 'bx_tasks_gallery_files'
  73. ),
  74. /**
  75. * Extended Search Forms.
  76. */
  77. 'esearches' => array(
  78. 'bx_tasks',
  79. 'bx_tasks_cmts'
  80. ),
  81. /**
  82. * Installation/Uninstallation Section.
  83. */
  84. 'install' => array(
  85. 'execute_sql' => 1,
  86. 'update_languages' => 1,
  87. 'clear_db_cache' => 1,
  88. ),
  89. 'uninstall' => array (
  90. 'process_esearches' => 1,
  91. 'execute_sql' => 1,
  92. 'update_languages' => 1,
  93. 'update_relations' => 1,
  94. 'clear_db_cache' => 1,
  95. ),
  96. 'enable' => array(
  97. 'execute_sql' => 1,
  98. 'update_relations' => 1,
  99. 'clear_db_cache' => 1,
  100. ),
  101. 'enable_success' => array(
  102. 'process_menu_triggers' => 1,
  103. 'process_page_triggers' => 1,
  104. 'process_esearches' => 1,
  105. 'register_transcoders' => 1,
  106. 'clear_db_cache' => 1,
  107. ),
  108. 'disable' => array (
  109. 'execute_sql' => 1,
  110. 'update_relations' => 1,
  111. 'unregister_transcoders' => 1,
  112. 'clear_db_cache' => 1,
  113. ),
  114. 'disable_failed' => array (
  115. 'register_transcoders' => 1,
  116. 'clear_db_cache' => 1,
  117. ),
  118. /**
  119. * Dependencies Section
  120. */
  121. 'dependencies' => array(),
  122. /**
  123. * Relations Section
  124. */
  125. 'relations' => array(
  126. 'bx_timeline',
  127. 'bx_notifications'
  128. ),
  129. );
  130. /** @} */