/dokuwiki/inc/File/ |
D | Resolver.php | 27 * @param string $id The ID to resolve 32 public function resolveId($id, $rev = '', $isDateAt = false) argument 37 if ($conf['useslash']) $id = str_replace('/', ':', $id); 39 $id = str_replace(';', ':', $id); 41 $id = $this->resolvePrefix($id); 42 return $this->resolveRelatives($id); 48 * @param string $id 51 protected function resolvePrefix($id) argument 53 if ($id === '') return $id; 56 if ($id[0] === '~') { [all …]
|
D | PageResolver.php | 16 public function resolveId($id, $rev = '', $isDateAt = false) argument 19 $id = (string) $id; 22 if (strpos($id, '#') !== false) { 23 [$id, $hash] = sexplode('#', $id, 2); 29 if ($id !== '') { 30 $id = parent::resolveId($id, $rev, $isDateAt); 31 $id = $this->resolveStartPage($id, $rev, $isDateAt); 33 $id = $this->resolveAutoPlural($id, $rev, $isDateAt); 36 $id = $this->contextID; 39 $id = cleanID($id); // FIXME always? or support parameter [all …]
|
D | PageFile.php | 17 protected $id; variable in dokuwiki\\File\\PageFile 28 * @param string $id 30 public function __construct($id) argument 32 $this->id = $id; 33 $this->changelog = new PageChangeLog($this->id); 39 return $this->id; 45 return wikiFN($this->id, $rev); 61 : io_readWikiPage($this->getPath($rev), $this->id, $rev); // retrieve from attic 63 return io_readWikiPage($this->getPath(), $this->id, ''); 103 'id' => $this->id,// should not be altered by any handlers [all …]
|
/dokuwiki/inc/ |
D | pageutils.php | 42 $id = $INPUT->str($param); 45 if (empty($id) && $conf['userewrite'] == 2) { 76 $id = preg_replace('/\?.*/', '', $match[1]); 78 $id = urldecode($id); 80 $id = preg_replace('!^/+!', '', $id); 84 if (str_ends_with($id, ':') || ($conf['useslash'] && str_ends_with($id, '/'))) { 85 if (page_exists($id . $conf['start'])) { 87 $id .= $conf['start']; 88 } elseif (page_exists($id . noNS(cleanID($id)))) { 90 $id .= noNS(cleanID($id)); [all …]
|
D | parserutils.php | 70 * @param string $id page id 79 function p_wiki_xhtml($id, $rev = '', $excuse = true, $date_at = '') argument 81 $file = wikiFN($id, $rev); 87 $ID = $id; 92 … $ret = p_render('xhtml', p_get_instructions(io_readWikiPage($file, $id, $rev)), $info, $date_at); 97 $ret = p_cached_output($file, 'xhtml', $id); 100 $changelog = new PageChangeLog($id); 117 * @param string $id page id 122 function p_locale_xhtml($id) argument 125 $data = ['id' => $id, 'html' => '']; [all …]
|
/dokuwiki/lib/plugins/authpdo/_test/pgsql/ |
D | django.sql | 39 id integer NOT NULL, field 64 ALTER SEQUENCE auth_group_id_seq OWNED BY auth_group.id; 72 id integer NOT NULL, field 98 ALTER SEQUENCE auth_group_permissions_id_seq OWNED BY auth_group_permissions.id; 106 id integer NOT NULL, field 133 ALTER SEQUENCE auth_permission_id_seq OWNED BY auth_permission.id; 141 id integer NOT NULL, field 162 id integer NOT NULL, field 188 ALTER SEQUENCE auth_user_groups_id_seq OWNED BY auth_user_groups.id; 209 ALTER SEQUENCE auth_user_id_seq OWNED BY auth_user.id; [all …]
|
/dokuwiki/lib/scripts/ |
D | linkwiz.test.js | 14 { ref: 'a:b:c', id: 'a:b:d', expected: 'd' }, property 15 { ref: 'a:b:c', id: 'a:b:c:d:e', expected: '.:c:d:e' }, property 16 { ref: 'a:b:c', id: 'a:b:c:d:e', expected: '.:c:d:e' }, property 17 { ref: 'a', id: 'a:b:c', expected: 'a:b:c' }, property 18 { ref: 'a:b', id: 'c:d', expected: 'c:d' }, property 19 { ref: 'a:b:c', id: 'a:d:e', expected: '..:d:e' }, property 20 { ref: 'a:b:c:d', id: 'a:d:e', expected: '..:..:d:e' }, property 21 { ref: 'a:b', id: 'c', expected: ':c' }, property 24 testCases.forEach(({ ref, id, expected }, index) => { property 25 const result = LinkWizard.createRelativeID(ref, id);
|
D | fileuploaderextended.js | 17 onProgress: function(id, fileName, loaded, total){ argument 18 self._onProgress(id, fileName, loaded, total); 19 self._options.onProgress(id, fileName, loaded, total); 21 onComplete: function(id, fileName, result){ argument 22 self._onComplete(id, fileName, result); 23 self._options.onComplete(id, fileName, result); 25 onCancel: function(id, fileName){ argument 26 self._onCancel(id, fileName); 27 self._options.onCancel(id, fileName); 42 var id = this._handler.add(fileContainer); [all …]
|
D | fileuploader.js | 46 var id = 0; 47 return function(){ return id++; }; 268 onSubmit: function(id, fileName){}, argument 269 onProgress: function(id, fileName, loaded, total){}, argument 270 onComplete: function(id, fileName, responseJSON){}, argument 271 onCancel: function(id, fileName){}, argument 329 onProgress: function(id, fileName, loaded, total){ argument 330 self._onProgress(id, fileName, loaded, total); 331 self._options.onProgress(id, fileName, loaded, total); 333 onComplete: function(id, fileName, result){ argument [all …]
|
/dokuwiki/inc/Subscriptions/ |
D | MediaSubscriptionSender.php | 14 * @param string $id Media file for which the notification is 18 …public function sendMediaDiff($subscriber_mail, $template, $id, $rev = false, $current_rev = false) argument 22 $file = mediaFN($id); 23 [$mime, /* ext */] = mimetype($id); 27 'MEDIA' => ml($id, $current_rev ? ('rev=' . $current_rev) : '', true, '&', true), 32 $trep['OLD'] = ml($id, "rev=$rev", true, '&', true); 37 $headers = ['Message-Id' => $this->getMessageID($id, @filemtime($file))]; 39 $headers['In-Reply-To'] = $this->getMessageID($id, $rev); 42 $this->send($subscriber_mail, 'upload', $id, $template, $trep, null, $headers);
|
D | PageSubscriptionSender.php | 16 * @param string $id Page for which the notification is 23 …public function sendPageDiff($subscriber_mail, $template, $id, $rev = null, $summary = '', $curren… argument 29 'PAGE' => $id, 30 'NEWPAGE' => wl($id, $current_rev ? ('rev=' . $current_rev) : '', true, '&'), 32 'SUBSCRIBE' => wl($id, ['do' => 'subscribe'], true, '&'), 38 $trep['OLDPAGE'] = wl($id, "rev=$rev", true, '&'); 40 $old_content = rawWiki($id, $rev); 41 $new_content = rawWiki($id); 62 $tdiff = rawWiki($id); 69 $headers = ['Message-Id' => $this->getMessageID($id)]; [all …]
|
D | SubscriberManager.php | 29 * @param string $id The target page or namespace, specified by id; Namespaces 37 public function add($id, $user, $style, $data = '') argument 44 $this->remove($id, $user); 61 $file = $this->file($id); 73 * @param string $id The target object’s (namespace or page) id 81 public function remove($id, $user = null, $style = null, $data = null) argument 87 $file = $this->file($id); 104 * @param string $id Page ID, defaults to global $ID 112 public function userSubscription($id = '', $user = '') argument 121 if (!$id) { [all …]
|
/dokuwiki/_test/tests/inc/ |
D | parserutils_set_metadata.test.php | 8 private $id; variable in parserutils_set_metadata_test 51 $this->id = 'test:set_metadata_array_replace'; 52 saveWikiText($this->id, 'Test', 'Test data setup'); 53 $meta = p_get_metadata($this->id); 60 saveWikiText($this->id, 'Test1', 'Test first edit'); 61 $meta = p_get_metadata($this->id); 69 saveWikiText($this->id, 'Test2', 'Test second edit'); 70 $meta = p_get_metadata($this->id); 78 saveWikiText($this->id, 'Test3', 'Test third edit'); 79 $meta = p_get_metadata($this->id);
|
D | common_ml.test.php | 55 $id = 'some:img.png'; 58 $tok = media_get_token($id,$w,0); 60 $expect = DOKU_BASE . $this->script . '?w='.$w.'&tok='.$tok.'&media='.$id; 61 $this->assertEquals($expect, ml($id, $args)); 69 $id = 'some:img.png'; 72 $tok = media_get_token($id,$w,0); 74 $expect = DOKU_BASE . $this->script . '?w='.$w.'&tok='.$tok.'&media='.$id; 75 $this->assertEquals($expect, ml($id, $args)); 83 $id = ':wiki:dokuwiki-128.png'; 90 $this->assertEquals($expect, ml($id, $args)); [all …]
|
D | changelog_hasrevisions.test.php | 17 $id = 'mailinglist'; 19 $pagelog = new PageChangeLog($id); 28 $id = 'nonexist'; 30 $pagelog = new PageChangeLog($id);
|
/dokuwiki/inc/ChangeLog/ |
D | RevisionInfo.php | 110 $id = $this->val('id'); 113 return media_printicon($id); 116 …turn '<img class="icon" src="' . DOKU_BASE . 'lib/images/fileicons/file.png" alt="' . $id . '" />'; 176 $id = $this->val('id'); 181 $params = ['tab_details' => 'view', 'ns' => getNS($id), 'image' => $id]; 184 $display_name = $id; 185 $exists = file_exists(mediaFN($id, $rev)); 189 $href = wl($id, $params, false, '&'); 190 $display_name = useHeading('navigation') ? hsc(p_get_first_heading($id)) : $id; 191 if (!$display_name) $display_name = $id; [all …]
|
/dokuwiki/inc/Remote/ |
D | LegacyApiCore.php | 96 public function legacyGetPage($id) argument 99 return $this->getPage($id); 111 public function legacyGetPageVersion($id, $rev = '') argument 114 return $this->getPage($id, $rev); 126 public function legacyGetAttachment($id) argument 128 return new Base64(base64_decode($this->getMedia($id))); 134 public function legacygetAttachmentInfo($id) argument 136 $info = $this->getMediaInfo($id); 146 public function legacyGetPageHTML($id) argument 149 return $this->getPageHTML($id); [all …]
|
/dokuwiki/inc/Ui/Media/ |
D | DisplayRow.php | 18 $id = $this->mediaFile->getId(); 23 echo '<div title="' . $id . '" ' . $jump . '>'; 24 echo '<a id="h_:' . $id . '" class="' . $class . '">' . 30 $link = ml($id, '', true); 35 $link = wl('', ['do' => 'media', 'image' => $id, 'ns' => getNS($id)]); 41 $link = DOKU_BASE . 'lib/exe/mediamanager.php?delete=' . rawurlencode($id) . 43 echo ' <a href="' . $link . '" class="btn_media_delete" title="' . $id . '">' . 48 echo '<div class="example" id="ex_' . str_replace(':', '_', $id) . '">'; 49 echo $lang['mediausage'] . ' <code>{{:' . $id . '}}</code>'; 61 $id = $this->mediaFile->getId(); [all …]
|
/dokuwiki/inc/Remote/Response/ |
D | Media.php | 13 public $id; variable in dokuwiki\\Remote\\Response\\Media 33 * @param string $id The media ID 42 $id, argument 51 $this->id = $id; 52 $this->file = mediaFN($this->id, $revision); 55 $this->permission = $perms ?? auth_quickaclcheck($this->id); 57 $this->isimage = (bool)($isimage ?? preg_match("/\.(jpe?g|gif|png)$/", $id)); 77 $pagelog = new MediaChangeLog($this->id, 1024); 85 return $this->id . '@' . $this->revision;
|
D | Page.php | 13 public $id; variable in dokuwiki\\Remote\\Response\\Page 33 * @param string $id The page ID 43 $id, argument 52 $this->id = $id; 53 $this->file = wikiFN($this->id, $revision); 56 $this->permission = $perms ?? auth_quickaclcheck($this->id); 74 $title = p_get_first_heading($this->id); 79 return $this->id; 97 $pagelog = new PageChangeLog($this->id, 1024); 105 return $this->id . '@' . $this->revision;
|
D | PageChange.php | 11 public $id; variable in dokuwiki\\Remote\\Response\\PageChange 28 * @param string $id 36 public function __construct($id, $revision, $author, $ip, $summary, $type, $sizechange) argument 38 $this->id = $id; 50 return $this->id . '@' . $this->revision;
|
D | MediaChange.php | 11 public $id; variable in dokuwiki\\Remote\\Response\\MediaChange 28 * @param string $id 36 public function __construct($id, $revision, $author, $ip, $summary, $type, $sizechange) argument 38 $this->id = $id; 50 return $this->id . '@' . $this->revision;
|
/dokuwiki/_test/tests/Remote/ |
D | ApiCoreTest.php | 138 $id = 'aclpage'; 140 $this->assertEquals(AUTH_UPLOAD, $this->remote->call('core.aclCheck', ['page' => $id])); 153 $this->assertEquals(AUTH_EDIT, $this->remote->call('core.aclCheck', ['page' => $id])); 250 $id = 'wiki:syntax'; 251 $file = wikiFN($id); 253 idx_addPage($id); //full text search depends on index 256 'id' => $id, 328 $id = 'pageversion'; 329 $file = wikiFN($id); 331 saveWikiText($id, 'first version', 'first'); [all …]
|
/dokuwiki/lib/plugins/extension/ |
D | Repository.php | 108 foreach (array_diff($ids, $found) as $id) { 109 $this->storeCache($id, []); 136 foreach ($ids as $id) { 137 $data = $this->retrieveCache($id); 139 $toload[] = $id; 141 $result[$id] = Extension::createFromRemoteData($data); 148 foreach ($toload as $id) { 149 $data = $this->retrieveCache($id); 151 $result[$id] = null; 153 $result[$id] = Extension::createFromRemoteData($data); [all …]
|
/dokuwiki/inc/Extension/ |
D | PluginInterface.php | 58 * @param string $id id of the string to be retrieved 61 public function getLang($id); argument 67 * @param string $id id of language dependent wiki page 70 public function locale_xhtml($id); argument 76 * @param string $id id of localization file 80 public function localFN($id, $ext = 'txt'); argument
|