Home
last modified time | relevance | path

Searched refs:page_id (Results 1 – 23 of 23) sorted by relevance

/plugin/snippets/
H A Dhelper.php124 * @param page_id string
127 function insertSnippet(&$result, $page_id,$force) { argument
128 if(!file_exists(wikiFN($page_id))) return;
130 if(!array_key_exists($page_id,$snip_data['doc'])) return; //Check if page contains snippet
134 $snippets = $snip_data['doc'][$page_id];
135 $page_t = filemtime(wikiFN($page_id));
142 if($snip_t < $page_t && $this->snippetWasUpdated($page_id,$snip) && !$force) {
168 foreach($pages as $page_id) {
169 if($id != $page_id) { // remove current page from array of pages held by the snippet
170 $id_array[] = $page_id;
H A Daction.php107 $page_id = $file;
129 $page_id,
130 getNS($page_id),
164 $page_id = $event->data[2];
166 $this->helper->insertSnippet($event->result, $page_id, $force_old);
181 $page_id = ltrim($event->data[1] . ':' . $event->data[2], ":");
184 $page_id = $event->data[2];
189 if(!array_key_exists($page_id,$snip_data['doc'])) return;
190 $snippets = $snip_data['doc'][$page_id];
195 $snip_data['doc'][$page_id] = $intersect;
[all …]
/plugin/issuelinks/helper/
H A Dutil.php33 * @param string $page_id
38 public function getDiffUrl($page_id, $revision = 0) argument
41 $currentRevision = filemtime(wikiFN($page_id));
43 $page_id,
51 $changelog = new PageChangelog($page_id);
54 $page_id,
/plugin/bez/mdl/
H A DAuthentication_tokenFactory.php13 public function get_token($page_id) { argument
14 $r = $this->model->sqlite->query("SELECT token FROM {$this->get_table_name()} WHERE page_id=?", $page_id);
22 public function create_token($page_id, $expire_date='') { argument
28 $token = $this->get_token($page_id);
39 array('page_id' => $page_id,
H A DModel.php127 $page_id = $this->action->id();
130 if ($this->authentication_tokenFactory->get_token($page_id) == $user_tok) {
/plugin/advanced/admin/
H A Dexport.php192 $page_id = $page['id'];
193 $page_title = p_get_first_heading($page_id);
195 $create_user = editorinfo(p_get_metadata($page_id, 'user'));
196 $modified_user = editorinfo(p_get_metadata($page_id, 'last_change user'));
197 $create_date = dformat(p_get_metadata($page_id, 'date created'));
198 $modified_date = dformat(p_get_metadata($page_id, 'date modified'));
208 $page_id,
209 $page_id, $page_title,
/plugin/structtasks/meta/
H A DAbstractNotifier.php140 public function sendMessage($page_id, $page_title, $editor, $editor_email, $new_data, argument
143 … $notifiable_users = $this->getNotifiableUsers($page_id, $editor_email, $new_data, $old_data);
147 if ($page_title == '') $page_title = $page_id;
148 $url = wl($page_id, [], true);
152 'EDITURL' => wl($page_id, ['do' => 'edit'], true, '&'),
/plugin/pagebox/
H A Dsyntax.php45 list($type, $page_id, $flags) = $data;
47 if(auth_quickaclcheck($page_id) >= AUTH_READ) {
62 $renderer->doc.= tpl_include_page($page_id, false);
/plugin/mikioplugin/syntax/
H A Dcarousel.php76 $page_id = $namespace . ':' . $page['id'];
77 preg_match('/{{([^>|}]+(\.jpg|\.gif|\.png))\|?.*}}/', rawWiki($page_id), $image_matches);
82 $item_data['title'] = (strlen($data['dynamic-prefix']) > 0 ? $data['dynamic-prefix'] . ' ' : '') . p_get_first_heading($page_id);
83 $item_data['url'] = $page_id;
/plugin/dtable/
H A Dhelper.php74 function rows($row, $page_id, $start_line)
78 $Parser->Handler = new helper_plugin_dtable_handler($page_id, $start_line);
89 function get_spans($start_line, $page_lines, $page_id) {
96 $rows = self::rows($table, $page_id, $start_line);
128 function parse_line($line, $page_id)
152 public function __construct($page_id, $start_line) {
153 $this->file_path = wikiFN($page_id);
79 rows($row, $page_id, $start_line) global() argument
94 get_spans($start_line, $page_lines, $page_id) global() argument
132 parse_line($line, $page_id) global() argument
156 __construct($page_id, $start_line) global() argument
/plugin/dyncontent/
H A Daction.php83 function get_page_dynamic_content($page_id, $pagename){ argument
84 $content = rawWiki($page_id);
110 $output .= '[['.$page_id.'|→]] '.$match;
/plugin/quickstats/db/
H A DdataBaseStructure.txt100 /* assoc array intermixed md5(page_id) and ip keys */
101 [md5(page_id)] => Array
106 [md5(page_id)] => Array
117 [md5(page_id)] => Array
/plugin/structtasks/_test/
H A DNotifiersTest.php48 const page_id = 'some:page_id'; define in dokuwiki\\plugin\\structtasks\\test\\notifiers_plugin_structtasks_test
313 $url = DOKU_URL . DOKU_SCRIPT . '?id=' . $this::page_id;
352 $this::page_id,
377 $url = DOKU_URL . DOKU_SCRIPT . '?id=' . $this::page_id;
379 'TITLE' => $this::page_id,
380 'TITLELINK' => '"' . $this::page_id . "\" <${url}>",
391 'TITLELINK' => "&ldquo;<a href=\"${url}\">" . $this::page_id . '</a>&rdquo;',
410 $this::page_id,
/plugin/combo/db/combo/
H A Dupdate0019.sql7 inner join pages p on pr.page_id = p.page_id;
H A Dupdate0016.sql11 inner join pages p on pa.page_id = p.page_id;
/plugin/timetrack/db/
H A Dupdate0001.sql7 CREATE TABLE project (id INTEGER PRIMARY KEY, page_id INTEGER, abbr TEXT, name TEXT); field
8 CREATE UNIQUE INDEX idx_project ON project(page_id,abbr);
/plugin/subjectindex/action/
H A Dindexer.php54 $page_id = $doku_indexer->getPID($page);
56 $indexer->update($page_id, $matched_entries)->save();
/plugin/timetrack/
H A Dhelper.php92 $page_id = (int) $sqlite->res2single($res);
94 if(!$page_id && $create) {
96 } else if(!$page_id){
99 return $page_id;
103 $page_id = (int) $sqlite->res2single($res);
105 return $page_id;
122 $page_id = $this->getPageId($pageid);
124 if(!$page_id) dbg(['no page id',$pageid,$abbr,$name]);
128 $res = $sqlite->query("SELECT id FROM project WHERE page_id = ? AND abbr = ?", $page_id, $abbr);
243 $page_id = $this->getPageId($pageid);
[all …]
/plugin/fksnewsfeed/
H A Dscript.js25 page_id: JSINFO.id,
/plugin/authorstats/
H A Daction.php170 function _getChangesFileForPage($page_id) argument
173 $page = preg_replace("[:]", "/", $page_id);
/plugin/translate/
H A Dhelper.php456 foreach ($meta['relation']['translations'] as $page_id => $lang) {
457 if (!page_exists($page_id)) {
458 unset($meta['relation']['translations'][$page_id]);
/plugin/bez/db/
H A Dupdate0001.sql348 page_id TEXT NOT NULL, field
355 PRIMARY KEY (page_id, token)
/plugin/gcalendar/inc/
H A Dgcal_show.php239 foreach($pages as $key=>$page_id) {