/plugin/passpolicy/ |
H A D | action.php | 46 * @param Doku_Event $event 55 $event->stopPropagation(); 56 $event->preventDefault(); 126 $event->preventDefault(); 143 $event->data['password'] = $passpolicy->generatePassword($event->data['foruser']); 144 $event->preventDefault(); 152 * @param Doku_Event $event 160 $event->preventDefault(); 166 $event->data = 'show'; 181 * @param Doku_Event $event [all …]
|
/plugin/farm/ |
H A D | action.php | 61 $event->data == 'login' || 62 $event->data == 'profile' 63 ) $event->data = 'show'; 65 if($event->data == 'admin') $event->data = 'show'; 68 $event->data == 'edit' || 69 $event->data == 'preview' || 70 $event->data == 'save' || 71 $event->data == 'draft' || 72 $event->data == 'recover' || 74 $event->data == 'conflict' [all …]
|
/plugin/diagrams/action/ |
H A D | mediafile.php | 35 public function handleExistsCheck(Doku_Event $event) argument 37 if ($event->data !== 'plugin_diagrams_mediafile_existscheck') return; 38 $event->preventDefault(); 39 $event->stopPropagation(); 52 * @param Doku_Event $event AJAX_CALL_UNKNOWN 54 public function handleEditCheck(Doku_Event $event) argument 56 if ($event->data !== 'plugin_diagrams_mediafile_editcheck') return; 57 $event->preventDefault(); 58 $event->stopPropagation(); 83 * @param Doku_Event $event AJAX_CALL_UNKNOW 85 handleIsDiagramCheck(Doku_Event $event) global() argument 114 handleNamespaceCheck(Doku_Event $event) global() argument 131 handleCSP(Doku_Event $event) global() argument 144 registerMoveHandler(Doku_Event $event) global() argument [all...] |
/plugin/authphpbb3/ |
H A D | action.php | 31 * @param Doku_Event $event Event. 65 $event->data->replaceElement($pos, null); 66 $event->data->insertElement($pos, $elem); 77 $event->data->replaceElement($pos, null); 78 $event->data->insertElement($pos, $elem); 90 $event->data->replaceElement($pos, null); 91 $event->data->insertElement($pos, $elem); 120 * @param Doku_Event $event Event. 133 if (empty($event->data['name'])) { 134 $event->data['name'] = $event->data['username']; [all …]
|
/plugin/mediasyntax/ |
H A D | action.php | 41 function handle_metadata(Doku_Event $event, $param) 44 //$event->data contains things like creator, last change etc. 52 function handle_parser(Doku_Event $event, $param) 60 $ins =& $event->data->calls; 89 function handle_form(Doku_Event $event, $param) 93 $event->data->addHidden('redirect_id', cleanID($_REQUEST['redirect_id'])); argument 100 function handle_redirect(Doku_Event $event, $param) 104 $event->data['id'] = cleanID($_REQUEST['redirect_id']); argument 105 $event->data['title'] = ''; 112 function _cache_prepare(Doku_Event $event, 45 handle_metadata(& $event, $param) global() argument 56 handle_parser(& $event, $param) global() argument 116 _cache_prepare(& $event, $param) global() argument 202 define_toolbar(& $event, $param) global() argument [all...] |
/plugin/watchcycle/ |
H A D | action.php | 21 * Registers a callback function for a given event 23 * @param EventHandler $controller DokuWiki's event controller object 50 * @param Event $event event object by reference 56 public function handleToolbarDefine(Event $event, $param) 58 $event->data[] = [ 68 * @param Event $event argument 71 public function addFilterToSearchForm(Event $event, $param) 74 $searchForm = $event->data; 81 * Handles the FORM_QUICKSEARCH_OUTPUT event 53 handle_toolbar_define(Doku_Event $event, $param) global() argument 86 handle_form_quicksearch_output(Doku_Event $event, $param) global() argument 101 filterSearchResults(Doku_Event $event, $param) global() argument 122 handle_parser_metadata_render(Doku_Event $event, $param) global() argument 197 handle_ajax_get(Doku_Event $event, $param) global() argument 226 handle_ajax_validate(Doku_Event $event, $param) global() argument 360 handle_parser_cache_use(Doku_Event $event, $param) global() argument 379 handle_pagesave_before(Doku_Event $event, $param) global() argument 398 addIconToPageLookupResult(Doku_Event $event, $param) global() argument 415 addIconToFullPageResult(Doku_Event $event, $param) global() argument [all...] |
/plugin/translation/ |
H A D | action.php | 31 * Registers a callback function for a given event 57 * @param Event $event INIT_LANG_LOAD 59 public function translateUI(Event $event) 87 $event->data = $locale; 95 * @param Event $event TPL_METAHEADER_OUTPUT 97 public function translateJS(Event $event) 101 $count = count($event->data['script']); 104 array_key_exists('src', $event->data['script'][$i]) && 105 strpos($event->data['script'][$i]['src'], '/lib/exe/js.php') !== false 107 $event 56 translateUI(Doku_Event $event) global() argument 94 translateJS(Doku_Event $event) global() argument 111 translateJSCache(Doku_Event $event) global() argument 127 addLanguageAttributes(Doku_Event $event) global() argument 153 redirectStartPage(Doku_Event $event) global() argument 174 addHrefLangAttributes(Doku_Event $event) global() argument 207 handlePageTemplates(Doku_Event $event) global() argument 262 sortSearchResults(Doku_Event $event) global() argument [all...] |
/plugin/linkback/action/ |
H A D | antispam.php | 21 * Handler for the ACTION_LINKBACK_RECEIVED event. 23 function handle_linkback_received(Doku_Event $event, $param) { argument 24 $linkback = $event->data['trackback_data']; 25 $page = $event->data['page']; 26 $target = $event->data['target']; 29 $event->data['log'][] = "\tLinkcount exceeded, marked as spam"; 30 $event->data['show'] = false; 32 $event->preventDefault(); 34 $event->data['log'][] = "\t -> moderated"; 36 $event [all...] |
/plugin/siteexport/action/ |
H A D | startup.php | 63 $event->data->key .= SITEEXPORT_TPL; 64 $event->data->cache = getCacheName($event->data->key,$event->data->ext); 67 public function siteexport_check_export(Doku_Event &$event) argument 70 $keys = is_array($event->data) ? array_keys($event->data) : null; 74 $event->data = 'show'; 80 $event->preventDefault(); 84 public function siteexport_addpage(Doku_Event &$event) argument 93 $event->preventDefault(); 119 if($event->data['view'] != 'page') return; 128 $head =& $event->data; [all …]
|
/plugin/statistics/ |
H A D | action.php | 82 function logedits(Doku_Event $event, $param) { argument 83 if($event->data[3]) return; // no revision 85 if(file_exists($event->data[0][0])) { 86 if($event->data[0][1] == '') { 96 $hlp->Logger()->log_edit(cleanID($event->data[1] . ':' . $event->data[2]), $type); 102 function logsearch(Doku_Event $event, $param) { argument 105 $hlp->Logger()->log_search('', $event->data['query'], $event->data['highlight'], 'dokuwiki'); 111 function loglogins(Doku_Event $event, argument 135 logregistration(Doku_Event $event, $param) global() argument 146 logmedia(Doku_Event $event, $param) global() argument 171 loghistory(Doku_Event $event, $param) global() argument [all...] |
/plugin/importfacebookevents/ |
H A D | syntax.php | 230 foreach($events as $event){ 239 if (!isset($event['end_time'])) { 240 $event['end_time'] = $event['start_time']; 245 $eid = $event['id']; 246 $name = $event['name']; 248 $description = isset($event['description']) ? $event['description'] : ""; 269 $place_name = isset($event['place']['name']) ? $event['place']['name'] : ""; 270 …$street = isset($event['place']['location']['street']) ? $event['place']['location']['street'] : "… 271 $city = isset($event['place']['location']['city']) ? $event['place']['location']['city'] : ""; 272 …$country = isset($event['place']['location']['country']) ? $event['place']['location']['country'] … [all …]
|
/plugin/xtern/ |
H A D | action.php | 63 if ($event->data !== 'extern_url') { 68 $event->stopPropagation(); 69 $event->preventDefault(); 115 $event->result = preg_replace("#$srch#", "",$event->result); 116 $event->result = str_replace($srch,"",$event->result); 124 …$event->result = preg_replace('/__\s*BROKEN-LINK:__\s*BROKEN-LINK:/ms', '__ BROKEN-LINK:', $event-… 125 …$event->result = preg_replace('/\s*LINK-BROKEN\s*__\s*LINK-BROKEN\s*__/ms', 'LINK-BROKEN__', $even… 126 …$event->result = preg_replace('/_*\s*BROKEN-LINK:_*\s*BROKEN-LINK:/ms', '__BROKEN-LINK: ', $even… 127 … $event->result = preg_replace('/LINK-BROKEN__LINK-BROKEN__/ms', 'LINK-BROKEN__', $event->result); 128 $event->result = preg_replace('/BROKEN-LINK:\s+/ms', 'BROKEN-LINK: ', $event->result); [all …]
|
/plugin/gallery/action/ |
H A D | prosemirror.php | 14 * Registers a callback function for a given event 16 * @param EventHandler $controller DokuWiki's event controller object 34 * Triggered by event: DOKUWIKI_STARTED 36 * @param Event $event event object 42 public function writeDefaultsToJSINFO(Event $event, $param) 63 * Triggered by event: PROSEMIRROR_RENDER_PLUGIN 65 * @param Event $event event object 71 public function renderFromInstructions(Event $event, 38 writeDefaultsToJSINFO(Doku_Event $event, $param) global() argument 70 renderFromInstructions(Doku_Event $event, $param) global() argument 136 parseToSyntax(Doku_Event $event, $param) global() argument 158 renderAttributesToHTML(Doku_Event $event, $param) global() argument [all...] |
/plugin/spatialhelper/ |
H A D | action.php | 37 * DokuWiki's event controller object. 42 // http://www.dokuwiki.org/devel:event:indexer_page_add 46 // http://www.dokuwiki.org/devel:event:sitemap_generate 81 * @param Event $event 82 * event object 84 final public function handleIndexerPageAdd(Event $event): void 86 // $event→data['page'] – the page id 87 // $event→data['body'] – empty, can be filled by additional content to index by your plugin 88 // $event→data['metadata'] – the metadata that shall be indexed. This is an array where the keys are the 91 $id = $event 76 handleIndexerPageAdd(Doku_Event $event, $param) global() argument 95 removeFromIndex(Doku_Event $event, $param) global() argument 129 handleSitemapGenerateBefore(Doku_Event $event, $param) global() argument 145 handleSitemapGenerateAfter(Doku_Event $event, $param) global() argument 181 handleActionActPreprocess(Doku_Event $event, $param) global() argument 197 findnearby(Doku_Event $event, $param) global() argument 326 handleMediaUploaded(Doku_Event $event, $param) global() argument 351 handleMediaDeleted(Doku_Event $event, $param) global() argument 376 handleMetaheaderOutput(Doku_Event $event, $param) global() argument 398 popularity(Doku_Event $event) global() argument [all...] |
/plugin/socialcards/ |
H A D | action.php | 67 $event->data['meta'][] = array( 72 $event->data['meta'][] = array( 77 $event->data['meta'][] = array( 98 $event->data['meta'][] = array( 102 $event->data['meta'][] = array( 122 $event->data['meta'][] = array( 126 $event->data['meta'][] = array( 130 $event->data['meta'][] = array( 134 $event->data['meta'][] = array( 144 $event->data['meta'][] = array( [all …]
|
/plugin/usermanagerextended/action/ |
H A D | extend.php | 23 public function handleAccess(\Doku_Event $event) argument 26 $event->data['hasAccess'] = auth_ismanager(); 46 $modUser = $event->data['params'][0]; 51 $this->checkModUser($user, $event); 54 $this->checkModUser($modUser, $event); 78 if ($event->data['type'] === 'create') { 79 $groups = $event->data['params'][4]; 80 } elseif ($event->data['type'] === 'modify') { 94 return $this->deny($event); 106 protected function deny(\Doku_Event $event) argument [all …]
|
/plugin/toolbuttondel/ |
H A D | action.php | 20 $this->formats($event); 22 $this->pickers($event); 23 $this->links($event); 26 function links(& $event) { argument 34 if(isset($event->data[$i]['open']) && $event->data[$i]['open']=='[[') 110 function pickers(& $event) { argument 118 unset($event->data[$i]); 128 function formats(& $event) { argument 135 $tmp[] = $event->data[$i]; 140 $event->data = $tmp; [all …]
|
/plugin/syntaxhighlighter/ |
H A D | action.php | 47 function _hooksh (&$event, $param) { argument 48 $event->data['link'][] = array( 'rel'=>'stylesheet' 53 $event->data["script"][] = array ("type" => "text/javascript", 56 $event->data["script"][] = array ("type" => "text/javascript", 59 $event->data["script"][] = array ("type" => "text/javascript", 62 $event->data["script"][] = array ("type" => "text/javascript", 65 $event->data["script"][] = array ("type" => "text/javascript", 68 $event->data["script"][] = array ("type" => "text/javascript", 71 $event->data["script"][] = array ("type" => "text/javascript", 74 $event->data["script"][] = array ("type" => "text/javascript", [all …]
|
/plugin/geotag/ |
H A D | action.php | 35 * DokuWiki's event controller object. Also available as global $EVENT_HANDLER 49 * @param Event $event argument 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 127 insertButton(Doku_Event $event, $param) global() argument 144 popularity(Doku_Event $event) global() argument [all...] |
/plugin/pagebuttons/ |
H A D | action.php | 50 function addjsinfo($event, $params){ argument 65 * @param Doku_Event $event 71 $event->data['view'] !== 'page' 86 * @param Doku_Event $event 93 $event->data['view'] !== 'page' 109 * @param Doku_Event $event 116 $event->data['view'] !== 'page' 148 * @param Doku_Event $event 150 public function actionPage(Doku_Event $event) { argument 154 …if ($event->data != 'deletepagebutton' && $event->data != 'newfolderbutton' && $event->data != 'ne… [all …]
|
/plugin/semantic/ |
H A D | action.php | 65 public function jsinfo(Doku_Event &$event, $param) argument 79 * @param Doku_Event $event handler 84 public function ajax(Doku_Event &$event, $param) argument 87 if ($event->data !== 'plugin_semantic') { 92 $event->stopPropagation(); 93 $event->preventDefault(); 116 * @param Doku_Event $event handler 121 public function website(Doku_Event &$event, $params) argument 123 $event->data["script"][] = array( 132 * @param Doku_Event $event handle 137 json_ld(Doku_Event& $event, $params) global() argument 164 meta_description(Doku_Event& $event, $params) global() argument 192 meta_author(Doku_Event& $event, $params) global() argument 218 meta_open_graph(Doku_Event& $event, $params) global() argument 248 meta_dublin_core(Doku_Event& $event, $params) global() argument [all...] |
/plugin/tableplot/ |
H A D | action.php | 42 function tableplot_hookjs(&$event, $param) { argument 53 $event->data['link'][] = array( 58 $event->data['script'][] = array( 63 $event->data['script'][] = array( 68 $event->data['script'][] = array( 73 $event->data['script'][] = array( 78 $event->data['script'][] = array( 83 $event->data['script'][] = array( 88 $event->data['script'][] = array( 93 $event->data['script'][] = array( [all …]
|
/plugin/markdownextra/ |
H A D | action.php | 23 function handle_parser_wikitext_preprocess(&$event, $param) { argument 32 if($ACT != 'show' && $event->data != $TEXT) return true; 38 $event->data = "<markdown>\n".$event->data."\n</markdown>"; 41 $event->data = "<markdown>\n".$event->data."\n</markdown>"; 45 function handle_meltdown_metadata(&$event, $param) { argument 55 $event->data['link'][] = array( 59 $event->data['link'][] = array( 63 $event->data['script'][] = array( 67 $event->data['script'][] = array( 71 $event->data['script'][] = array( [all …]
|
/plugin/include/ |
H A D | action.php | 26 * plugin should use this method to register its handlers with the dokuwiki's event controller 50 public function handle_indexer_version($event, $param) { argument 51 $event->data['plugin_include'] = '0.1.safeindex='.$this->getConf('safeindex'); 55 * Handles the INDEXER_PAGE_ADD event, prevents indexing of metadata from included pages that aren't public if enabled 57 * @param Doku_Event $event the event object 60 public function handle_indexer(Doku_Event $event, $params) { argument 70 $inclmeta = p_get_metadata($event->data['page'], 'plugin_include', METADATA_RENDER_UNLIMITED); 91 $meta = p_read_metadata($event->data['page']); // load the original metdata 92 $meta = p_render_metadata($event 131 handle_metadata(& $event, $param) global() argument 146 handle_parser(Doku_Event $event, $param) global() argument 178 handle_form(Doku_Event $event, $param) global() argument 193 handle_redirect(Doku_Event& $event, $param) global() argument 210 _cache_prepare(Doku_Event& $event, $param) global() argument 264 handle_secedit_button(Doku_Event& $event, $params) global() argument 338 handle_move_register(Doku_Event $event, $params) global() argument [all...] |
/plugin/findologicxmlexport/vendor/jms/serializer/tests/Serializer/EventDispatcher/Subscriber/ |
H A D | DoctrineProxySubscriberTest.php | 34 $this->subscriber->onPreSerialize($event); 43 $this->subscriber->onPreSerialize($event); 61 $this->subscriber->onPreSerialize($event); 72 $subscriber->onPreSerialize($event); 89 $subscriber->onPreSerialize($event); 94 $subscriber->onPreSerialize($event); 119 $event->setType('foo', ['bar']); 132 $event = $this->createEvent($proxy, ['name' => 'foo', 'params' => []]); 135 self::assertSame(['name' => 'foo', 'params' => []], $event->getType()); 143 $event = $this->createEvent($object, $type); [all …]
|