Home
last modified time | relevance | path

Searched refs:pid (Results 1 – 25 of 102) sorted by relevance

12345

/plugin/struct/meta/
H A DCSVSerialImporter.php28 $pid = cleanID($values[0]);
29 if ($this->createPage[$pid]) {
30 $this->createPage($pid, $values);
40 * @param string $pid
43 protected function createPage($pid, $line) argument
45 $text = pageTemplate($pid);
47 $pageParts = explode(':', $pid);
60 saveWikiText($pid, $text, 'Created by struct csv import');
77 $pid = cleanID($rawvalue);
78 if (!page_exists($pid)) {
[all …]
H A DCSVPageImporter.php30 $pid = cleanID($values[0]);
31 if ($this->createPage[$pid]) {
32 $this->createPage($pid, $values);
37 $pid,
49 * @param string $pid
52 protected function createPage($pid, $line) argument
54 $text = pageTemplate($pid);
56 $pageParts = explode(':', $pid);
135 $pid = cleanID($rawvalue);
140 if (page_exists($pid)) {
[all …]
H A DAccessTable.php19 protected $pid; variable in dokuwiki\\plugin\\struct\\meta\\AccessTable
86 if (self::isTypePage($pid, $ts)) {
119 * @param string $pid Page id
134 $this->pid = $pid;
159 return $this->pid;
569 * @param string $pid
582 * @param string $pid
589 return $pid === '';
595 * @param string $pid
609 * @param string $pid
[all …]
H A DPageMeta.php10 protected $pid; variable in dokuwiki\\plugin\\struct\\meta\\PageMeta
18 public function __construct($pid) argument
23 $this->pid = $pid;
42 $res = $this->sqlite->query($sql, $this->pid);
54 …$this->sqlite->query($sql, [$this->pid, $this->title, $this->lasteditor, $this->lastrev, $this->la…
66 $title = noNS($this->pid);
123 return $this->pid;
H A DAccessTablePage.php16 public function __construct($schema, $pid, $ts = 0, $rid = 0) argument
19 parent::__construct($schema, $pid, $ts, $rid);
51 $opts = [$this->pid];
86 [$this->pid]
91 [$this->pid]
108 return [self::DEFAULT_PAGE_RID, $this->pid, $this->ts, 1];
125 return [AccessTable::DEFAULT_LATEST, $this->ts, $this->pid, self::DEFAULT_PAGE_RID];
H A DAccessTableGlobal.php14 public function __construct($table, $pid, $ts = 0, $rid = 0) argument
16 parent::__construct($table, $pid, $ts, $rid);
93 return [$this->pid, AccessTable::DEFAULT_REV, AccessTable::DEFAULT_LATEST];
101 return [$this->pid, $this->rid, AccessTable::DEFAULT_REV, AccessTable::DEFAULT_LATEST];
132 * @param string $pid
136 protected function handleEmptyMulti($pid, $rid, $colref) argument
140 'multi_' . $this->schema->getTable(), $pid, $rid, $colref
H A DCSVExporter.php45 $pid = $pids[$i];
47 $pid = '';
49 echo $this->row($row, $pid);
79 * @param string $pid pid of this row
82 protected function row($values, $pid) argument
86 $row .= $this->escape($pid);
/plugin/struct/action/
H A Dinline.php31 protected $pid = ''; variable in action_plugin_struct_inline
86 if ($this->pid && auth_quickaclcheck($this->pid) < AUTH_EDIT) return;
90 lock($this->pid);
164 $this->pid,
174 unlock($this->pid);
192 $pid = $INPUT->str('pid');
193 unlock($pid);
209 $pid = $INPUT->str('pid');
218 $this->pid = $pid;
248 if (!page_exists($this->pid)) {
[all …]
/plugin/struct/_test/mock/
H A DAccessTable.php11 public static function getPageAccess($tablename, $pid, $ts = 0) argument
14 return new AccessTablePage($schema, $pid, $ts, 0);
25 * @param int|string $pid
31 public static function bySchema(Schema $schema, $pid, $ts = 0, $rid = 0) argument
33 if (self::isTypePage($pid, $ts, $rid)) {
34 return new AccessTablePage($schema, $pid, $ts, $rid);
36 return new AccessTableGlobal($schema, $pid, $ts, $rid);
41 * @param string $pid
47 public static function byTableName($tablename, $pid, $ts = 0, $rid = 0) argument
50 …return self::bySchema($schema, $pid, $ts); // becuse we have a static call here we can not rely on…
/plugin/tagging/db/
H A Dupdate0002.sql5 CREATE TABLE taggings_tmp (pid, tag, tagger, PRIMARY KEY(pid, tag, tagger)); field
6 INSERT INTO taggings_tmp SELECT pid, tag, tagger FROM taggings;
10 CREATE TABLE taggings (pid, tag, tagger, lang, PRIMARY KEY(pid, tag, tagger)); field
11 INSERT INTO taggings SELECT pid, tag, tagger, '' FROM taggings_tmp;
14 CREATE INDEX idx_taggings_pid ON taggings(pid);
/plugin/subjectindex/inc/
H A Dcommon.php36 function add($path, $pid) { argument
38 $this->pids[] = $pid;
70 $pid = $this->pids[$key];
71 $result = array($path, $pid );
100 * @param null $pid
111 if ($pid !== null) {
227 if (isset($missing_pids[$pid]) || ! SI_Utils::is_valid_page($all_pages[$pid])) {
231 foreach ($missing_pids as $pid) {
232 foreach ($pid as $key)
289 $pid = array();
[all …]
/plugin/blogtng/db/
H A Dupdate0004.sql4 pid, field
15 SELECT cid, pid, source, name, mail, web, avatar, created, text, status
22 pid, field
34 CREATE INDEX idx_comments_pid ON comments(pid);
38 SELECT cid, pid, source, name, mail, web, avatar, created, text, status, null
45 pid PRIMARY KEY, field
57 SELECT pid, page, title, blog, image, created, lastmod, author, login, email
63 pid PRIMARY KEY, field
75 CREATE UNIQUE INDEX idx_entries_pid ON entries(pid);
81 SELECT pid, page, title, blog, image, created, lastmod, author, login, email, 1
H A Dupdate0001.sql2 pid PRIMARY KEY, field
13 CREATE UNIQUE INDEX idx_entries_pid ON entries(pid);
20 pid, field
31 CREATE INDEX idx_comments_pid ON comments(pid);
35 pid, field
37 PRIMARY KEY (pid, tag)
39 CREATE INDEX idx_tags_pid ON tags(pid);
H A Dupdate0005.sql3 pid PRIMARY KEY, field
15 SELECT pid, page, title, blog, image, created, lastmod, author, login, mail
21 pid PRIMARY KEY, field
33 CREATE UNIQUE INDEX idx_entries_pid ON entries(pid);
39 SELECT pid, page, title, blog, image, created, lastmod, author, login, mail, 'enabled'
/plugin/data-au/_test/
H A Daction_handle.test.php45 $pid = $this->getTestPageId();
46 $this->assertFalse(!$pid);
62 $pid = $this->db->res2single($res);
63 $this->assertTrue(!$pid);
69 $pid = (int) $this->db->res2single($res);
70 return $pid;
/plugin/blogtng/helper/
H A Dtags.php19 private $pid = null; variable in helper_plugin_blogtng_tags
31 * @param string $pid
33 public function setPid($pid) { argument
34 $this->pid = trim($pid);
61 public function load($pid) { argument
62 $this->setPid($pid);
73 $resid = $this->sqlitehelper->getDB()->query($query, $this->pid);
99 public function count($pid) { argument
105 $pid = trim($pid);
110 $resid = $this->sqlitehelper->getDB()->query($query, $pid);
[all …]
H A Dcomments.php19 private $pid; variable in helper_plugin_blogtng_comments
33 public function setPid($pid) { argument
34 $this->pid = trim($pid);
79 $args[] = $this->pid;
423 public function enable($pid) { argument
431 public function disable($pid) { argument
439 public function close($pid) { argument
526 if(!$this->pid) return;
554 $pid = $this->pid;
555 if(!$pid) return;
[all …]
/plugin/struct/db/
H A Dupdate0008.sql3 pid NOT NULL, field
5 PRIMARY KEY(pid)
9 INSERT INTO titles SELECT DISTINCT pid, pid FROM schema_assignments;
/plugin/data/_test/
H A Daction_handle.test.php45 $pid = $this->getTestPageId();
46 $this->assertFalse(!$pid);
62 $pid = $this->db->res2single($res);
63 $this->assertTrue(!$pid);
69 $pid = (int) $this->db->res2single($res);
70 return $pid;
/plugin/tagging/helper/
H A Dquerybuilder.php18 protected $pid; variable in helper_plugin_tagging_querybuilder
139 * @param string $pid
141 public function setPid($pid) argument
143 $this->pid = $pid;
195 if ($this->pid) {
197 $where .= $this->useLike($this->pid) ? ' GLOB' : ' =';
199 $this->values[] = $this->pid;
205 foreach ($this->pids as $pid) {
207 $this->values[] = $pid;
/plugin/editions/
H A Daction.php55 $pid = $event->data['pid'];
56 if ($this->_isEdition() && $pid) {
65 $pid = $event->data['pid'];
66 if ($this->_isEdition() && $pid) {
67 $event->data['doc'] .= $this->_getEditionLinks($pid) . '</div>';
104 function _getEditionLinks($pid) { argument
113 $eLink = wl($this->getConf('editionNamespace').':'.$edition.':'.noNS($ID)).'#'.$pid;
121 $editionLinks .= '<div id="load__'.$pid.'" class="editions_snippet JSpopup"></div>';
/plugin/struct/script/
H A DInlineEditor.js12 var pid = $self.parent().data('pid');
17 if ((!pid && !rid) || !field) return;
25 $form.append(jQuery('<input type="hidden" name="pid">').val(pid));
39 pid: pid,
101 pid: pid
/plugin/icalevents/vendor/sabre/vobject/resources/schema/
H A Dxcard.rng90 param-pid = element pid {
116 element parameters { param-altid, param-pid, param-pref,
195 param-pid,
209 element parameters { param-altid, param-pid, param-pref,
216 element parameters { param-altid, param-pid, param-pref,
223 element parameters { param-altid, param-pid, param-pref,
230 element parameters { param-altid, param-pid, param-pref,
237 element parameters { param-altid, param-pid, param-pref,
272 element parameters { param-altid, param-pid, param-pref,
281 param-pid,
[all …]
/plugin/webdav/vendor/sabre/vobject/resources/schema/
H A Dxcard.rng90 param-pid = element pid {
116 element parameters { param-altid, param-pid, param-pref,
195 param-pid,
209 element parameters { param-altid, param-pid, param-pref,
216 element parameters { param-altid, param-pid, param-pref,
223 element parameters { param-altid, param-pid, param-pref,
230 element parameters { param-altid, param-pid, param-pref,
237 element parameters { param-altid, param-pid, param-pref,
272 element parameters { param-altid, param-pid, param-pref,
281 param-pid,
[all …]
/plugin/blogtng/action/
H A Dentry.php47 $pid = md5($ID);
48 $this->entryhelper->load_by_pid($pid);
54 $this->commenthelper->setPid($pid);
73 $pid = md5($ID);
74 $this->entryhelper->load_by_pid($pid);

12345