| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136 |
- <?php
- /**
- * Copyright (c) UNA, Inc - https://una.io
- * MIT License - https://opensource.org/licenses/MIT
- *
- * @defgroup Polls Polls
- * @ingroup UnaModules
- *
- * @{
- */
- $aConfig = array(
- /**
- * Main Section.
- */
- 'type' => BX_DOL_MODULE_TYPE_MODULE,
- 'name' => 'bx_polls',
- 'title' => 'Polls',
- 'note' => 'Basic poll module.',
- 'version' => '9.0.10.DEV',
- 'vendor' => 'BoonEx',
- 'help_url' => 'http://feed.una.io/?section={module_name}',
- 'compatible_with' => array(
- '9.0.x'
- ),
- /**
- * 'home_dir' and 'home_uri' - should be unique. Don't use spaces in 'home_uri' and the other special chars.
- */
- 'home_dir' => 'boonex/polls/',
- 'home_uri' => 'polls',
- 'db_prefix' => 'bx_polls_',
- 'class_prefix' => 'BxPolls',
- /**
- * Category for language keys.
- */
- 'language_category' => 'Polls',
- /**
- * List of page triggers.
- */
- 'page_triggers' => array (
- 'trigger_page_profile_view_entry',
- ),
-
- /**
- * Menu triggers.
- */
- 'menu_triggers' => array(
- 'trigger_profile_view_submenu',
- 'trigger_group_view_submenu'
- ),
- /**
- * Storage objects to automatically delete files from upon module uninstallation.
- * Note. Don't add storage objects used in transcoder objects.
- */
- 'storages' => array(
- 'bx_polls_files'
- ),
- /**
- * Transcoders.
- */
- 'transcoders' => array(
- 'bx_polls_preview',
- 'bx_polls_gallery',
- 'bx_polls_cover'
- ),
- /**
- * Extended Search Forms.
- */
- 'esearches' => array(
- 'bx_polls',
- 'bx_polls_cmts',
- ),
- /**
- * Installation/Uninstallation Section.
- */
- 'install' => array(
- 'execute_sql' => 1,
- 'update_languages' => 1,
- 'clear_db_cache' => 1,
- ),
- 'uninstall' => array (
- 'process_esearches' => 1,
- 'execute_sql' => 1,
- 'update_languages' => 1,
- 'update_relations' => 1,
- 'clear_db_cache' => 1,
- ),
- 'enable' => array(
- 'execute_sql' => 1,
- 'update_relations' => 1,
- 'clear_db_cache' => 1,
- ),
- 'enable_success' => array(
- 'process_menu_triggers' => 1,
- 'process_page_triggers' => 1,
- 'process_esearches' => 1,
- 'register_transcoders' => 1,
- 'clear_db_cache' => 1,
- ),
- 'disable' => array (
- 'execute_sql' => 1,
- 'update_relations' => 1,
- 'unregister_transcoders' => 1,
- 'clear_db_cache' => 1,
- ),
- 'disable_failed' => array (
- 'register_transcoders' => 1,
- 'clear_db_cache' => 1,
- ),
- /**
- * Dependencies Section
- */
- 'dependencies' => array(),
- /**
- * Relations Section
- */
- 'relations' => array(
- 'bx_timeline',
- 'bx_notifications'
- ),
- );
- /** @} */
|