config.php 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146
  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' => '15.0.6.DEV',
  19. 'vendor' => 'UNA INC',
  20. 'help_url' => 'http://feed.una.io/?section={module_name}',
  21. 'compatible_with' => array(
  22. '15.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. /**
  40. * Menu triggers.
  41. */
  42. 'menu_triggers' => array(
  43. 'trigger_group_view_submenu',
  44. ),
  45. /**
  46. * Storage objects to automatically delete files from upon module uninstallation.
  47. * Note. Don't add storage objects used in transcoder objects.
  48. */
  49. 'storages' => array(
  50. 'bx_tasks_covers',
  51. 'bx_tasks_photos',
  52. 'bx_tasks_videos',
  53. 'bx_tasks_files'
  54. ),
  55. /**
  56. * Transcoders.
  57. */
  58. 'transcoders' => array(
  59. 'bx_tasks_preview',
  60. 'bx_tasks_gallery',
  61. 'bx_tasks_cover',
  62. 'bx_tasks_preview_photos',
  63. 'bx_tasks_gallery_photos',
  64. 'bx_tasks_videos_poster',
  65. 'bx_tasks_videos_poster_preview',
  66. 'bx_tasks_videos_mp4',
  67. 'bx_tasks_videos_mp4_hd',
  68. 'bx_tasks_preview_files',
  69. 'bx_tasks_gallery_files'
  70. ),
  71. /**
  72. * Extended Search Forms.
  73. */
  74. 'esearches' => array(
  75. 'bx_tasks',
  76. 'bx_tasks_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' => 0,
  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. * Relations Section
  121. */
  122. 'relations' => array(
  123. 'bx_timeline',
  124. 'bx_notifications'
  125. ),
  126. );
  127. /** @} */