Lines Matching defs:event
21 * Registers a callback function for a given event
23 * @param Doku_Event_Handler $controller DokuWiki's event controller object
36 public function add_notifications_source(Doku_Event $event)
38 $event->data[] = 'structnotification';
41 public function add_notification_cache_dependencies(Doku_Event $event)
43 if (!in_array('structnotification', $event->data['plugins'])) return;
49 $event->data['dependencies'][] = $sqlite->getAdapter()->getDbFile();
70 public function add_notifications(Doku_Event $event)
72 if (!in_array('structnotification', $event->data['plugins'])) return;
83 $user = $event->data['user'];
125 $event->data['notifications'][] = [