function init()
 {
     $this->plugin_path = 'plugins' . DIRECTORY_SEPARATOR . plugin_get_current() . DIRECTORY_SEPARATOR;
     // plugin events - view the README.txt file to know where these
     // events have to be called
     event_declare('EVENT_GROUP_ACCESS_HAS_BUG_LEVEL', EVENT_TYPE_CHAIN);
     plugin_event_hook('EVENT_GROUP_ACCESS_HAS_BUG_LEVEL', 'group_access_has_bug_level');
     event_declare('EVENT_GROUP_PROJECT_GET_ALL_USER_ROWS', EVENT_TYPE_CHAIN);
     plugin_event_hook('EVENT_GROUP_PROJECT_GET_ALL_USER_ROWS', 'group_project_get_all_user_rows');
 }
Esempio n. 2
0
 /**
  * Register source integration plugins with the framework.
  */
 function core_ready()
 {
     # register the generic vcs type
     plugin_child('SourceGeneric');
     # initialize the vcs type cache
     SourceVCS::init();
     if (plugin_config_get('enable_linking')) {
         plugin_event_hook('EVENT_DISPLAY_FORMATTED', 'display_formatted');
     }
 }
 function init()
 {
     plugin_event_hook('EVENT_PLUGIN_INIT', 'header');
 }
 function init()
 {
     plugin_event_hook('EVENT_CORE_READY', 'loadTheme');
 }
Esempio n. 5
0
 function init()
 {
     plugin_event_hook('EVENT_MENU_MAIN', 'mainmenu');
     plugin_event_hook('EVENT_MENU_ISSUE', 'worklogmenu');
     plugin_event_hook('EVENT_LAYOUT_RESOURCES', 'resources');
 }
Esempio n. 6
0
 function init()
 {
     plugin_event_hook('EVENT_MENU_MAIN', 'agendamenu');
 }
 /**
  * Initialisation du module
  */
 function init()
 {
     plugin_event_hook('EVENT_VIEW_BUG_DETAILS', 'uploadFileBugDetails');
 }
Esempio n. 8
0
 function init()
 {
     plugin_event_hook('EVENT_REPORT_BUG', 'reportBug');
     plugin_event_hook('EVENT_REPORT_BUG_FORM', 'reportBugFormTop');
     plugin_event_hook('EVENT_VIEW_BUG_DETAILS', 'reportBugFormTop');
 }
Esempio n. 9
0
 function setEventHooks()
 {
     // more functions defined in core/plugin_api.php
     plugin_event_hook('EVENT_MENU_ACCOUNT', 'addConfigLink_userAccount');
     plugin_event_hook('EVENT_VIEW_BUG_DETAILS', 'addTimeEntryRow_bugDetail');
     plugin_event_hook('EVENT_LAYOUT_RESOURCES', 'insertLayoutResources');
 }
Esempio n. 10
0
 function init()
 {
     plugin_event_hook('EVENT_MENU_MAIN', 'mainmenu');
     plugin_event_hook('EVENT_MENU_ISSUE', 'faqmenu');
 }
Esempio n. 11
0
 function init()
 {
     plugin_event_hook('EVENT_REPORT_BUG_FORM_TOP', 'reportBugFormTop');
     plugin_event_hook('EVENT_REPORT_BUG_DATA', 'reportBug');
 }
Esempio n. 12
0
 function init()
 {
     plugin_event_hook('EVENT_MENU_MAIN', 'mainpage');
 }
Esempio n. 13
0
 function init()
 {
     plugin_event_hook('EVENT_MENU_MANAGE', 'remdown');
 }
Esempio n. 14
0
 function init()
 {
     plugin_event_hook('EVENT_CORE_READY', 'autologin');
 }