Lines Matching defs:event
34 * https://www.dokuwiki.org/devel:event:pageutils_id_hidepage
39 * https://www.dokuwiki.org/devel:event:auth_acl_check
44 * https://www.dokuwiki.org/devel:event:sitemap_generate
49 * https://www.dokuwiki.org/devel:event:search_query_pagelookup
54 * https://www.dokuwiki.org/devel:event:search_query_fullpage
59 * https://www.dokuwiki.org/devel:event:feed_data_process
66 * https://www.dokuwiki.org/devel:event:tpl_metaheader_output
75 * @param $event
78 function handleHiddenCheck(&$event, $param)
88 $id = $event->data['id'];
100 $event->data['hidden'] = true;
106 $event->data['hidden'] = true;
115 * https://www.dokuwiki.org/devel:event:auth_acl_check
116 * @param $event
119 function handleAclCheck(&$event, $param)
126 * $user = $event->data['user'];
142 $id = $event->data['id'];
156 * https://www.dokuwiki.org/devel:event:auth_acl_check
164 $event->result = AUTH_NONE;
173 $event->result = AUTH_NONE;
183 function handleSiteMapGenerate(&$event, $param)
185 $pageItems = $event->data["items"];
199 unset($event->data["items"][$key]);
204 unset($event->data["items"][$key]);
210 $event->data["items"][$key]->url = $urlAfterRewrite;
216 * @param $event
220 function handleSearchPageLookup(&$event, $param)
222 $this->excludePageFromSearch($event);
226 * @param $event
230 function handleSearchFullPage(&$event, $param)
233 $this->excludePageFromSearch($event);
238 * @param $event
245 function handleRssFeed(&$event, $param)
253 $pagesToBeAdded = &$event->data["data"];
281 * @param $event
285 function excludePageFromSearch(&$event, $protectionModes = [PageProtection::CONF_VALUE_ACL, PageProtection::CONF_VALUE_HIDDEN])
296 if (is_array($event->result)) {
297 foreach (array_keys($event->result) as $idx) {
302 unset($event->result[$idx]);
309 unset($event->result[$idx]);
321 * https://www.dokuwiki.org/devel:event:tpl_metaheader_output
322 * @param $event
325 function handleRobotsMeta(&$event, $param)
345 foreach ($event->data['meta'] as $key => $meta) {
351 $event->data['meta'][$key]["content"] = "noindex,$follow";