config.php 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. <?php
  2. /**
  3. * Copyright (c) UNA, Inc - https://una.io
  4. * MIT License - https://opensource.org/licenses/MIT
  5. *
  6. * @defgroup Snipcart Snipcart
  7. * @ingroup UnaModules
  8. *
  9. * @{
  10. */
  11. $aConfig = array(
  12. /**
  13. * Main Section.
  14. */
  15. 'type' => BX_DOL_MODULE_TYPE_MODULE,
  16. 'name' => 'bx_snipcart',
  17. 'title' => 'Snipcart',
  18. 'note' => 'Snipcart shopping module.',
  19. 'version' => '9.0.0.DEV',
  20. 'vendor' => 'BoonEx',
  21. 'help_url' => 'http://feed.boonex.com/?section={module_name}',
  22. 'compatible_with' => array(
  23. '9.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/snipcart/',
  29. 'home_uri' => 'snipcart',
  30. 'db_prefix' => 'bx_snipcart_',
  31. 'class_prefix' => 'BxSnipcart',
  32. /**
  33. * Category for language keys.
  34. */
  35. 'language_category' => 'Snipcart',
  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. ),
  48. /**
  49. * Storages.
  50. */
  51. 'storages' => array(
  52. 'bx_snipcart_files'
  53. ),
  54. /**
  55. * Transcoders.
  56. */
  57. 'transcoders' => array(
  58. 'bx_snipcart_preview',
  59. 'bx_snipcart_gallery',
  60. ),
  61. /**
  62. * Installation/Uninstallation Section.
  63. */
  64. 'install' => array(
  65. 'execute_sql' => 1,
  66. 'update_languages' => 1,
  67. 'clear_db_cache' => 1,
  68. ),
  69. 'uninstall' => array (
  70. 'process_storages' => 1,
  71. 'execute_sql' => 1,
  72. 'update_languages' => 1,
  73. 'update_relations' => 1,
  74. 'clear_db_cache' => 1,
  75. ),
  76. 'enable' => array(
  77. 'execute_sql' => 1,
  78. 'update_relations' => 1,
  79. 'clear_db_cache' => 1,
  80. ),
  81. 'enable_success' => array(
  82. 'process_menu_triggers' => 1,
  83. 'process_page_triggers' => 1,
  84. 'register_transcoders' => 1,
  85. 'clear_db_cache' => 1,
  86. ),
  87. 'disable' => array (
  88. 'execute_sql' => 1,
  89. 'update_relations' => 1,
  90. 'unregister_transcoders' => 1,
  91. 'clear_db_cache' => 1,
  92. ),
  93. 'disable_failed' => array (
  94. 'register_transcoders' => 1,
  95. 'clear_db_cache' => 1,
  96. ),
  97. /**
  98. * Dependencies Section
  99. */
  100. 'dependencies' => array(),
  101. /**
  102. * Relations Section
  103. */
  104. 'relations' => array(
  105. 'bx_timeline',
  106. 'bx_notifications'
  107. ),
  108. );
  109. /** @} */