Lines Matching defs:event
31 * Plugin uses this method to register its handlers with the DokuWiki's event controller.
33 * @param $controller DokuWiki's event controller object. Also available as global $EVENT_HANDLER
44 * @param Event $event the DokuWiki event
46 final public function insertButton(Event $event): void
57 $event->data[] = ['type' => 'format', 'title' => $this->getLang('openlayersmap'), 'icon' => '../../plugins/openlayersmap/toolbar/map.png', 'open' => $strOpen, 'sample' => '50.0117,5.1287,-90,.8,marker-green.png,Pont de Barbouillons; Daverdisse \\\\ external link:
63 * @param Event $event the DokuWiki event
65 final public function insertCSSSniffer(Event $event): void
67 $event->data["script"][] = ["_data" => "document.documentElement.className += ' olCSSsupported';"];
73 * @param Event $event the DokuWiki event
75 final public function popularity(Event $event): void
79 $event->data['openlayersmap']['version'] = $plugin_info['date'];
80 $event->data['openlayersmap']['dwversion'] = $versionInfo['date'];
81 $event->data['openlayersmap']['combinedversion'] = $versionInfo['date'] . '_' . $plugin_info['date'];