Home
last modified time | relevance | path

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

123456

/plugin/networkgraph/action/
Dgrapher.php121 foreach($pages as $pid => $item) {
123 $ins = p_cached_instructions(wikiFN($pid), false, $pid);
133 if($id == $pid) continue; // skip self references
135 $pages[$pid]['links'][] = $id;
166 $pages[$pid]['media'][] = $mid;
168 $pages[$pid]['media'][] = $mid;
173 $backlinks = ft_backlinks($pid, true);
175 $pages[$backlink]['links'][] = $pid;
180 foreach($pages as $pid => $item) {
181 $pages[$pid]['links'] = array_unique($pages[$pid]['links']);
[all …]
/plugin/struct/meta/
H A DCSVPageImporter.php30 $pid = cleanID($values[0]);
31 if (isset($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);
88 saveWikiText($pid, $text, 'Created by struct csv import');
131 $pid = cleanID($rawvalue);
[all …]
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 DAccessTable.php19 protected $pid; variable in dokuwiki\\plugin\\struct\\meta\\AccessTable
57 public static function getPageAccess($tablename, $pid, $ts = 0) argument
60 return new AccessTablePage($schema, $pid, $ts, 0);
63 public static function getSerialAccess($tablename, $pid, $rid = 0) argument
66 return new AccessTableSerial($schema, $pid, 0, $rid);
79 * @param string $pid Page id to access
85 public static function bySchema(Schema $schema, $pid, $ts = 0, $rid = 0) argument
87 if (self::isTypePage($pid, $ts)) {
88 return new AccessTablePage($schema, $pid, $ts, $rid);
90 return new AccessTableGlobal($schema, $pid, $ts, $rid);
[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 $data = $this->sqlite->queryRecord($sql, [$this->pid]);
52 …$this->sqlite->query($sql, [$this->pid, $this->title, $this->lasteditor, $this->lastrev, $this->la…
64 $title = noNS($this->pid);
121 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];
84 [$this->pid]
89 [$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);
100 return [$this->pid, AccessTable::DEFAULT_REV, AccessTable::DEFAULT_LATEST];
108 return [$this->pid, $this->rid, AccessTable::DEFAULT_REV, AccessTable::DEFAULT_LATEST];
137 * @param string $pid
141 protected function handleEmptyMulti($pid, $rid, $colref) argument
146 $pid, $rid, $colref
/plugin/structpublish/helper/
H A Ddb.php63 public function isPublishable($pid = null) argument
71 if (!$pid) {
72 $pid = $ID;
76 return (bool) $sqlite->queryAll($sql, $pid);
82 * @param string $pid The page ID to check access for
86 public function checkAccess($pid, $roles = []) argument
88 return self::userHasRole($pid, '', [], $roles);
104 $pid = $args[0];
106 if (!$pid || !$this->isPublishable($pid)) {
113 return (int)static::userHasRole($pid, $userId, $grps);
[all …]
/plugin/struct/action/
H A Dinline.php34 protected $pid = ''; variable in action_plugin_struct_inline
89 if ($this->pid && auth_quickaclcheck($this->pid) < AUTH_EDIT) return;
90 if (checklock($this->pid)) return;
93 lock($this->pid);
131 $tables = $assignments->getPageAssignments($this->pid, true);
155 $revision = helper_plugin_struct::createPageRevision($this->pid, 'inline edit');
156 …p_get_metadata($this->pid); // reparse the metadata of the page top update the titles/rev/lastedit…
167 $this->pid,
177 unlock($this->pid);
195 $pid = $INPUT->str('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/subjectindex/inc/
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
103 function filtered($section = null, $regex = null, $pid = null) { argument
111 if ($pid !== null) {
112 $fpaths = array_intersect_key($this->paths, preg_grep('/' . $pid . '/', $this->pids));
172 …* @param integer $pid The page id of the page being updated; needed to reference the …
176 function update($pid, Array $matched_entries) { argument
[all …]
/plugin/blogtng/db/
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
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);
/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/blogtng/helper/
Dtags.php17 private $pid = null; variable in helper_plugin_blogtng_tags
29 * @param string $pid
31 public function setPid($pid) { argument
32 $this->pid = trim($pid);
59 public function load($pid) { argument
60 $this->setPid($pid);
71 $resid = $this->sqlitehelper->getDB()->query($query, $this->pid);
97 public function count($pid) { argument
103 $pid = trim($pid);
108 $resid = $this->sqlitehelper->getDB()->query($query, $pid);
[all …]
Dcomments.php20 private $pid; variable in helper_plugin_blogtng_comments
34 public function setPid($pid) { argument
35 $this->pid = trim($pid);
79 $args[] = $this->pid;
204 public function delete_all($pid) { argument
207 return (bool) $this->sqlitehelper->getDB()->query($sql,$pid);
330 * @param string $pid - entry to subscribe
334 public function subscribe($pid, $mail, $optin = -3) { argument
343 $this->sqlitehelper->getDB()->query($sql,$pid,strtolower($mail));
375 public function unsubscribe_by_key($pid, $key) { argument
[all …]
/plugin/data-au/_test/
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.php21 protected $pid; variable in helper_plugin_tagging_querybuilder
142 * @param string $pid
144 public function setPid($pid) argument
146 $this->pid = $pid;
198 if ($this->pid) {
200 $where .= $this->useLike($this->pid) ? ' GLOB' : ' =';
202 $this->values[] = $this->pid;
208 foreach ($this->pids as $pid) {
210 $this->values[] = $pid;
/plugin/pureldap/vendor/freedsx/ldap/src/FreeDSx/Ldap/Server/
H A DChildProcess.php21 private $pid; variable in FreeDSx\\Ldap\\Server\\ChildProcess
29 int $pid, argument
32 $this->pid = $pid;
38 return $this->pid;
/plugin/webdav/vendor/sabre/vobject/resources/schema/
Dxcard.rng90 param-pid = element pid {
116 element parameters { param-altid, param-pid, param-pref,
129 element parameters { param-language, param-altid, param-pid,
146 element parameters { param-language, param-altid, param-pid,
153 element parameters { param-altid, param-pid, param-pref, param-type,
179 element parameters { param-language, param-altid, param-pid,
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,
[all …]
/plugin/icalevents/vendor/sabre/vobject/resources/schema/
Dxcard.rng90 param-pid = element pid {
116 element parameters { param-altid, param-pid, param-pref,
129 element parameters { param-language, param-altid, param-pid,
146 element parameters { param-language, param-altid, param-pid,
153 element parameters { param-altid, param-pid, param-pref, param-type,
179 element parameters { param-language, param-altid, param-pid,
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,
[all …]
/plugin/editions/
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/structpublish/meta/
H A DAssignments.php90 foreach ($pids as $pid) {
91 $this->updatePageAssignments($pid);
135 * @param string $pid
137 public function updatePageAssignments($pid, $reload = false) argument
142 $rules = $this->getPageAssignments($pid, true);
146 $this->assignPage($pid, $user, $status);
271 $pid = $row['pid'];
274 if (!isset($result[$pid])) {
275 $result[$pid] = [];
277 $result[$pid][$user][$status] = (bool) $row['assigned'];
/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/struct/script/
H A DInlineEditor.js12 var pid = $self.parent().data('pid');
18 if ((!pid && !rid) || !field) return;
26 $form.append(jQuery('<input type="hidden" name="pid">').val(pid));
40 pid: pid, property
102 pid: pid property

123456