Lines Matching refs:event
35 * DokuWiki's event controller object. Also available as global $EVENT_HANDLER
49 * @param Event $event
50 * the DokuWiki event. $event->data is a two-dimensional
53 * @see https://www.dokuwiki.org/devel:event:tpl_metaheader_output
55 final public function handleMetaheaderOutput(Event $event): void
69 $event->data ['meta'] [] = ['name' => 'geo.region', 'content' => $region];
72 $event->data ['meta'] [] = ['name' => 'geo.placename', 'content' => $placename];
76 $event->data ['meta'] [] = ['name' => 'geo.position', 'content' => $lat . ';' . $lon . ';' . $alt];
78 $event->data ['meta'] [] = ['name' => 'geo.position', 'content' => $lat . ';' . $lon];
82 $event->data ['meta'] [] = ['name' => 'geo.country', 'content' => $country];
85 $event->data ['meta'] [] = ['name' => "ICBM", 'content' => $lat . ', ' . $lon];
93 * $event->data ['link'] [] = array ('rel' => 'schema.DC',
96 $event->data ['meta'] [] = ['name' => "DC.title", 'content' => $title];
100 $event->data ['meta'] [] = ['name' => 'geo.geohash', 'content' => $geohash];
107 * @param Event $event
108 * the DokuWiki event
110 final public function insertButton(Event $event, array $param): void
112 $event->data [] = [
124 * @param Event $event
125 * the DokuWiki event
127 final public function popularity(Event $event): void
131 $event->data['geotag']['version'] = $plugin_info['date'];
132 $event->data['geotag']['dwversion'] = $versionInfo['date'];
133 $event->data['geotag']['combinedversion'] = $versionInfo['date'] . '_' . $plugin_info['date'];