Home
last modified time | relevance | path

Searched refs:id (Results 1 – 25 of 122) sorted by relevance

12345

/dokuwiki/inc/File/
H A DResolver.php38 if ($conf['useslash']) $id = str_replace('/', ':', $id);
40 $id = str_replace(';', ':', $id);
42 $id = $this->resolvePrefix($id);
49 * @param string $id
56 $id = $this->contextID . ':' . substr($id, 1);
62 $id = preg_replace('/^((\.+:)*)(\.+)(?=[^:\.])/', '\1\3:', $id);
63 $id = $this->contextNS . ':' . $id;
68 $id = $this->contextNS . ':' . $id;
71 return $id;
99 $id .= $trail;
[all …]
H A DPageResolver.php23 list($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);
39 $id = cleanID($id); // FIXME always? or support parameter
42 return $id;
57 if ($id[-1] !== ':') return $id;
64 return $id . noNS(cleanID($id));
84 if (page_exists($id, $rev, $isDateAt)) return $id;
[all …]
H A DPageFile.php17 protected $id; variable in dokuwiki\\File\\PageFile
28 * @param string $id
30 public function __construct($id) argument
32 $this->id = $id;
39 return $this->id;
45 return wikiFN($this->id, $rev);
169 $ioData = array([$pagefile, '', false], getNS($this->id), noNS($this->id), false);
181 p_purge_metadata($this->id);
183 io_sweepNS($this->id, 'datadir');
203 'id' => $this->id,
[all …]
H A DMediaFile.php9 protected $id; variable in dokuwiki\\File\\MediaFile
22 * @param string $id
25 public function __construct($id, $rev = '') argument
27 $this->id = $id; //FIXME should it be cleaned?
28 $this->path = mediaFN($id, $rev);
36 return $this->id;
52 return noNS($this->id);
157 return auth_quickaclcheck(getNS($this->id).':*');
/dokuwiki/inc/
H A Dpageutils.php74 $id = urldecode($id);
86 $id = $id . noNS(cleanID($id));
89 $id = substr($id, 0, -1);
102 if ($clean) $id = cleanID($id);
158 $id = trim($id, ':._-');
395 $id = cleanID($id);
413 $id = cleanID($id);
514 if ($id && $id[0] == '.') {
518 $id = $ns . ':' . $id;
539 $id = $ns . ':' . $id;
[all …]
H A Dparserutils.php64 * @param string $id page id
78 $ID = $id;
112 * @param string $id page id
136 * @param string $id page id
253 $cache = ($ID == $id);
269 $cachefile = new CacheRenderer($id, wikiFN($id), 'metadata');
446 if (isset($cache_metadata[(string)$id])) return $cache_metadata[(string)$id];
472 if (isset($cache_metadata[$id])) $cache_metadata[$id] = $meta;
502 $ID = $id;
505 $orig['page'] = $id;
[all …]
H A Dcache.php26 public function __construct($id, $file, $mode) argument
29 parent::__construct($id, $file, $mode);
40 public function __construct($id, $file, $mode) argument
43 parent::__construct($id, $file, $mode);
52 public function __construct($id, $file) argument
55 parent::__construct($id, $file);
H A Dcommon.php473 $id = (string) $id;
476 $id = strtr($id, ':', '/');
481 $id = strtr($id, ':', ';');
484 $id = rawurlencode($id);
485 $id = str_replace('%3A', ':', $id); //keep as colon
487 $id = str_replace('%2F', '/', $id); //keep as slash
519 $id = idfilter($id);
565 $id = idfilter($id);
605 $id = cleanID($id);
651 $id = idfilter($id);
[all …]
/dokuwiki/inc/Remote/
H A DApiCore.php219 $id = $this->resolvePageId($id);
243 $id = cleanID($id);
267 $id = cleanID($id);
301 $id = $this->resolvePageId($id);
476 $id = $this->resolvePageId($id);
522 $id = $this->resolvePageId($id);
683 $id = cleanID($id);
718 $id = cleanID($id);
745 $id = $this->resolvePageId($id);
772 $id = $this->resolvePageId($id);
[all …]
/dokuwiki/inc/Subscriptions/
H A DMediaSubscriptionSender.php17 * @param string $id Media file for which the notification is
21 …public function sendMediaDiff($subscriber_mail, $template, $id, $rev = false, $current_rev = false) argument
25 $file = mediaFN($id);
26 list($mime, /* $ext */) = mimetype($id);
30 'MEDIA' => ml($id, $current_rev?('rev='.$current_rev):'', true, '&', true),
35 $trep['OLD'] = ml($id, "rev=$rev", true, '&', true);
40 $headers = ['Message-Id' => $this->getMessageID($id, @filemtime($file))];
42 $headers['In-Reply-To'] = $this->getMessageID($id, $rev);
45 $this->send($subscriber_mail, 'upload', $id, $template, $trep, null, $headers);
H A DPageSubscriptionSender.php19 * @param string $id Page for which the notification is
32 'PAGE' => $id,
33 'NEWPAGE' => wl($id, $current_rev?('rev='.$current_rev):'', true, '&'),
35 'SUBSCRIBE' => wl($id, ['do' => 'subscribe'], true, '&'),
41 $trep['OLDPAGE'] = wl($id, "rev=$rev", true, '&');
43 $old_content = rawWiki($id, $rev);
44 $new_content = rawWiki($id);
65 $tdiff = rawWiki($id);
72 $headers = ['Message-Id' => $this->getMessageID($id)];
74 $headers['In-Reply-To'] = $this->getMessageID($id, $rev);
[all …]
H A DSubscriberManager.php45 $this->remove($id, $user);
62 $file = $this->file($id);
87 $file = $this->file($id);
120 if (!$id) {
121 $id = $ID;
132 $subs = $this->subscribers($id, $user);
243 $id = $data['id'];
284 protected function file($id) argument
287 if ((substr($id, -1, 1) === ':')) {
288 $meta_froot = getNS($id);
[all …]
H A DBulkSubscriptionSender.php144 protected function lock($id) argument
148 $lock = $conf['lockdir'] . '/_subscr_' . md5($id) . '.lock';
175 protected function unlock($id) argument
178 $lock = $conf['lockdir'] . '/_subscr_' . md5($id) . '.lock';
189 * @param string $id The ID
198 $pagelog = new PageChangeLog($id);
210 $id,
236 foreach ($ids as $id) {
237 $link = wl($id, [], true);
243 $id = prettyprint_id($ns_id);
[all …]
/dokuwiki/inc/ChangeLog/
H A DRevisionInfo.php108 $id = $this->val('id');
171 $id = $this->val('id');
176 $params = ['tab_details'=> 'view', 'ns'=> getNS($id), 'image'=> $id];
179 $display_name = $id;
185 $display_name = useHeading('navigation') ? hsc(p_get_first_heading($id)) : $id;
218 $id = $this->val('id');
263 $id = $this->val('id');
274 … $param = ['tab_details'=>'history', 'mediado'=>'diff', 'ns'=> getNS($id), 'image'=> $id];
305 $id = $this->val('id');
346 $id = $this->val('id');
[all …]
H A DPageChangeLog.php18 return metaFN($this->id, '.changes');
29 return wikiFN($this->id, $rev);
47 if (isset($timestamp)) unset($this->cache[$this->id][$info['date']]);
51 io_saveFile(metaFN($this->id,'.changes'), $logline, true);
56 $this->cache[$this->id][$this->currentRevision] = $info;
H A DMediaChangeLog.php18 return mediaMetaFN($this->id, '.changes');
29 return mediaFN($this->id, $rev);
47 if (isset($timestamp)) unset($this->cache[$this->id][$info['date']]);
51 io_saveFile(mediaMetaFN($this->id,'.changes'), $logline, $append = true);
56 $this->cache[$this->id][$this->currentRevision] = $info;
/dokuwiki/inc/Ui/Media/
H A DDisplayRow.php18 $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('', array('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>';
62 $id = $this->mediaFile->getId();
[all …]
/dokuwiki/lib/scripts/
H A Dfileuploaderextended.js52 item.qqFileId = id;
64 nameElement.id = 'mediamanager__upload_item'+id;
204 getName: function(id){ argument
229 _upload: function(id, params){ argument
257 self._dequeue(id);
269 return id;
278 getName: function(id){ argument
279 var file = this._files[id];
293 getSize: function(id){ argument
299 _upload: function(id, params){ argument
[all …]
H A Dfileuploader.js46 var id = 0;
894 this._upload(id, this._params[id]);
900 cancel: function(id){ argument
901 this._cancel(id);
902 this._dequeue(id);
976 return id;
978 getName: function(id){ argument
982 _cancel: function(id){ argument
983 this._options.onCancel(id, this.getName(id));
1029 return id;
[all …]
H A Ddelay.js18 execDispatch: function (id) { argument
19 timer._handlers[id]();
23 var id = ++timer._cur_id;
24 timer._handlers[id] = func;
25 return window.setTimeout('timer.execDispatch(' + id + ')', timeout);
/dokuwiki/
H A Dfeed.php225 $id = $ditem['id'];
227 $meta = p_get_metadata($id);
236 $date = @filemtime(mediaFN($id));
238 $date = @filemtime(wikiFN($id));
262 'image' => $id,
293 'image' => $id,
333 … if ($size = media_image_preview_size($id, '', new JpegMeta(mediaFN($id)), 300)) {
337 … if ($rev && $size = media_image_preview_size($id, $rev, new JpegMeta(mediaFN($id, $rev)),
386 if ($size = media_image_preview_size($id, '', new JpegMeta(mediaFN($id)))) {
420 if ($size = media_image_preview_size($id, '', new JpegMeta(mediaFN($id)))) {
[all …]
/dokuwiki/inc/Extension/
H A DPluginInterface.php58 * @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
/dokuwiki/lib/plugins/usermanager/lang/fa/
H A Dimport.txt3 برای اینکار یک فایل CSV با حداقل چهار ستون لازم است. ستون‌ها به ترتیب باید شامل id کاربر، نام کامل …
4 …دن یک نمونه از فایل مناسب، از گزینهٔ "خروجی کاربران" در بالا استفاده کنید. id های تکراری در جدول د…
/dokuwiki/inc/Form/
H A DTagCloseElement.php39 * @param null|string $id
43 public function id($id = null) argument
45 if ($id === null) {
/dokuwiki/inc/Sitemap/
H A DItem.php36 * @param string $id A wikipage id.
43 public static function createFromID($id, $changefreq = null, $priority = null) { argument
44 $id = trim($id);
45 $date = @filemtime(wikiFN($id));
47 return new Item(wl($id, '', true), $date, $changefreq, $priority);

12345