Lines Matching defs:event
51 * Register its handlers with the DokuWiki's event controller
68 public function include_dependencies(Doku_Event $event) {
70 $event->data["link"][] = array (
78 $event->data["script"][] = array (
87 $event->data["script"][] = array (
96 $event->data["script"][] = array (
104 $event->data["link"][] = array (
112 $event->data["script"][] = array (
121 public function setup_id(Doku_Event $event, $param) {
136 public function setup_enviroment(Doku_Event $event, $param) {
191 public function _ajax_call(Doku_Event $event, $param) {
193 if ($event->data !== 'plugin_bez') {
197 $event->stopPropagation();
198 $event->preventDefault();
202 public function tpl_pagetools_display(Doku_Event $event, $param) {
204 $event->preventDefault();
210 public function action_act_preprocess(Doku_Event $event, $param)
218 $event->preventDefault();
256 public function tpl_act_render($event, $param)
263 $event->preventDefault();
302 public function add_notifications_source(Doku_Event $event)
304 $event->data[] = 'bez:problems_without_tasks';
305 $event->data[] = 'bez:problems_coming';
306 $event->data[] = 'bez:problems_outdated';
307 $event->data[] = 'bez:tasks_coming';
308 $event->data[] = 'bez:tasks_outdated';
311 public function add_notification_cache_dependencies(Doku_Event $event)
313 if (!preg_grep('/^bez:.*/', $event->data['plugins'])) return;
317 $event->data['dependencies'][] = $db_helper->getDB()->getAdapter()->getDbFile();
320 public function add_notifications(Doku_Event $event)
322 if (!preg_grep('/^bez:.*/', $event->data['plugins'])) return;
324 $user = $event->data['user'];
327 if (in_array('bez:problems_without_tasks', $event->data['plugins'])) {
341 $event->data['notifications'][] = [
351 if (in_array('bez:problems_coming', $event->data['plugins'])) {
364 $event->data['notifications'][] = [
374 if (in_array('bez:problems_outdated', $event->data['plugins'])) {
387 $event->data['notifications'][] = [
397 if (in_array('bez:tasks_coming', $event->data['plugins'])) {
409 $event->data['notifications'][] = [
419 if (in_array('bez:tasks_outdated', $event->data['plugins'])) {
431 $event->data['notifications'][] = [