예제 #1
0
 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');
 }
예제 #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');
 }
예제 #5
0
파일: worklog.php 프로젝트: pinke/worklog
 function init()
 {
     plugin_event_hook('EVENT_MENU_MAIN', 'mainmenu');
     plugin_event_hook('EVENT_MENU_ISSUE', 'worklogmenu');
     plugin_event_hook('EVENT_LAYOUT_RESOURCES', 'resources');
 }
예제 #6
0
 function init()
 {
     plugin_event_hook('EVENT_MENU_MAIN', 'agendamenu');
 }
예제 #7
0
 /**
  * Initialisation du module
  */
 function init()
 {
     plugin_event_hook('EVENT_VIEW_BUG_DETAILS', 'uploadFileBugDetails');
 }
예제 #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');
 }
예제 #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');
 }
예제 #10
0
파일: FAQ.php 프로젝트: xxNull-lsk/faq
 function init()
 {
     plugin_event_hook('EVENT_MENU_MAIN', 'mainmenu');
     plugin_event_hook('EVENT_MENU_ISSUE', 'faqmenu');
 }
예제 #11
0
 function init()
 {
     plugin_event_hook('EVENT_REPORT_BUG_FORM_TOP', 'reportBugFormTop');
     plugin_event_hook('EVENT_REPORT_BUG_DATA', 'reportBug');
 }
예제 #12
0
 function init()
 {
     plugin_event_hook('EVENT_MENU_MAIN', 'mainpage');
 }
예제 #13
0
 function init()
 {
     plugin_event_hook('EVENT_MENU_MANAGE', 'remdown');
 }
예제 #14
0
 function init()
 {
     plugin_event_hook('EVENT_CORE_READY', 'autologin');
 }