Lines Matching refs:this

24         if (!isset($this->queue[$db])) {
25 $this->queue[$db] = [];
29 $this->queue[$db] = true;
32 if (is_array($this->queue[$db])) {
33 $this->queue[$db][$query_name] = true;
38 // ignore the queries that have not been changed in this request
39 $queue = $this->queue;
48 $this->queue = [];
54 $controller->register_hook('PLUGIN_SQLITE_QUERY_EXECUTE', 'AFTER', $this, 'handle_plugin_sqlite_query_execute');
55 $controller->register_hook('PLUGIN_SQLITE_QUERY_SAVE', 'AFTER', $this, 'handle_plugin_sqlite_query_change');
56 $controller->register_hook('PLUGIN_SQLITE_QUERY_DELETE', 'AFTER', $this, 'handle_plugin_sqlite_query_change');
58 $controller->register_hook('DOKUWIKI_DONE', 'AFTER', $this, 'update_pages_content');
60 // this is why we are using ACTION_HEADERS_SEND event here
61 $controller->register_hook('ACTION_HEADERS_SEND', 'AFTER', $this, 'check_current_page_for_updates');
63 $controller->register_hook('AJAX_CALL_UNKNOWN', 'AFTER', $this, 'update_pages_content');
75 $something_changed = $this->update_query_results($ID, $sql2wiki_data, 1);
78 $this->update_pages_content($event, [$ID]);
91 $dbs = array_keys($this->queue);
98 $sql2wiki_filtered = $this->queue_filtered($sql2wiki_data);
102 $this->update_query_results($page, $sql2wiki_filtered, $sleep);
104 $this->queue_clean();
111 $this->queue_put($db);
118 $this->queue_put($upstream, $query_name);
192 $updated_content = $this->get_updated_page_content($page_content, $page, $sql2wiki_data);
196 $next_update = $this->get_updated_page_content($page_content, $page, $sql2wiki_data);
197 // this may mean that the query results depend on page revisions which leads to infinite loop
200 $wrapped_content = $this->get_page_content_with_wrapped_tags($page_content, $sql2wiki_data);