config.php 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. <?php
  2. /**
  3. * Copyright (c) UNA, Inc - https://una.io
  4. * MIT License - https://opensource.org/licenses/MIT
  5. *
  6. * @defgroup Workspaces Workspaces
  7. * @ingroup UnaModules
  8. *
  9. * @{
  10. */
  11. $aConfig = array(
  12. /**
  13. * Main Section.
  14. */
  15. 'type' => BX_DOL_MODULE_TYPE_MODULE,
  16. 'name' => 'bx_workspaces',
  17. 'title' => 'Workspaces',
  18. 'note' => 'Workspace sub-profiles.',
  19. 'version' => '15.0.0.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/workspaces/',
  29. 'home_uri' => 'workspaces',
  30. 'db_prefix' => 'bx_workspaces_',
  31. 'class_prefix' => 'BxWorkspaces',
  32. /**
  33. * Category for language keys.
  34. */
  35. 'language_category' => 'Workspaces',
  36. /**
  37. * Connections.
  38. */
  39. 'connections' => array(
  40. 'sys_profiles_friends' => array ('type' => 'profiles'),
  41. 'sys_profiles_subscriptions' => array ('type' => 'profiles'),
  42. 'sys_profiles_relations' => array ('type' => 'profiles'),
  43. ),
  44. /**
  45. * Menu triggers.
  46. */
  47. 'menu_triggers' => array(
  48. 'trigger_profile_view_submenu',
  49. 'trigger_profile_snippet_meta',
  50. 'trigger_profile_view_actions',
  51. ),
  52. /**
  53. * Page triggers.
  54. */
  55. 'page_triggers' => array (
  56. 'trigger_page_profile_view_entry',
  57. ),
  58. /**
  59. * Storage objects to automatically delete files from upon module uninstallation.
  60. * Note. Don't add storage objects used in transcoder objects.
  61. */
  62. 'storages' => array(
  63. ),
  64. /**
  65. * Transcoders.
  66. */
  67. 'transcoders' => array(
  68. ),
  69. /**
  70. * Extended Search Forms.
  71. */
  72. 'esearches' => array(
  73. 'bx_workspaces',
  74. 'bx_workspaces_cmts',
  75. ),
  76. /**
  77. * Installation/Uninstallation Section.
  78. */
  79. 'install' => array(
  80. 'execute_sql' => 1,
  81. 'update_languages' => 1,
  82. 'clear_db_cache' => 1,
  83. ),
  84. 'uninstall' => array (
  85. 'process_esearches' => 1,
  86. 'execute_sql' => 1,
  87. 'update_languages' => 1,
  88. 'process_connections' => 1,
  89. 'process_deleted_profiles' => 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' => 0,
  103. 'clear_db_cache' => 1,
  104. ),
  105. 'disable' => array (
  106. 'execute_sql' => 1,
  107. 'unregister_transcoders' => 0,
  108. 'update_relations' => 1,
  109. 'clear_db_cache' => 1,
  110. ),
  111. 'disable_failed' => array (
  112. 'register_transcoders' => 0,
  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. /** @} */