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'); }
/** * 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'); }
function init() { plugin_event_hook('EVENT_MENU_MAIN', 'mainmenu'); plugin_event_hook('EVENT_MENU_ISSUE', 'worklogmenu'); plugin_event_hook('EVENT_LAYOUT_RESOURCES', 'resources'); }
function init() { plugin_event_hook('EVENT_MENU_MAIN', 'agendamenu'); }
/** * Initialisation du module */ function init() { plugin_event_hook('EVENT_VIEW_BUG_DETAILS', 'uploadFileBugDetails'); }
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'); }
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'); }
function init() { plugin_event_hook('EVENT_MENU_MAIN', 'mainmenu'); plugin_event_hook('EVENT_MENU_ISSUE', 'faqmenu'); }
function init() { plugin_event_hook('EVENT_REPORT_BUG_FORM_TOP', 'reportBugFormTop'); plugin_event_hook('EVENT_REPORT_BUG_DATA', 'reportBug'); }
function init() { plugin_event_hook('EVENT_MENU_MAIN', 'mainpage'); }
function init() { plugin_event_hook('EVENT_MENU_MANAGE', 'remdown'); }
function init() { plugin_event_hook('EVENT_CORE_READY', 'autologin'); }