/plugin/struct/meta/ |
H A D | CSVSerialImporter.php | 28 $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 D | CSVPageImporter.php | 30 $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); 135 $pid = cleanID($rawvalue); 140 if (page_exists($pid)) { [all …]
|
H A D | AccessTable.php | 19 protected $pid; variable in dokuwiki\\plugin\\struct\\meta\\AccessTable 87 if (self::isTypePage($pid, $ts)) { 120 * @param string $pid Page id 135 $this->pid = $pid; 160 return $this->pid; 582 * @param string $pid 595 * @param string $pid 602 return $pid === ''; 608 * @param string $pid 622 * @param string $pid [all …]
|
H A D | PageMeta.php | 10 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 D | AccessTablePage.php | 16 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] 110 return [self::DEFAULT_PAGE_RID, $this->pid, $this->ts, 1]; 127 return [AccessTable::DEFAULT_LATEST, $this->ts, $this->pid, self::DEFAULT_PAGE_RID];
|
H A D | AccessTableGlobal.php | 14 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 D | CSVExporter.php | 45 $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 D | inline.php | 31 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 D | AccessTable.php | 11 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/ |
H A D | common.php | 36 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/tagging/db/ |
H A D | update0002.sql | 5 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/db/ |
H A D | update0004.sql | 4 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 D | update0001.sql | 2 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 D | update0005.sql | 3 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/blogtng/helper/ |
H A D | tags.php | 19 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 D | comments.php | 19 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/data-au/_test/ |
H A D | action_handle.test.php | 45 $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/data/_test/ |
H A D | action_handle.test.php | 45 $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/struct/db/ |
H A D | update0008.sql | 3 pid NOT NULL, field 5 PRIMARY KEY(pid) 9 INSERT INTO titles SELECT DISTINCT pid, pid FROM schema_assignments;
|
/plugin/tagging/helper/ |
H A D | querybuilder.php | 18 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/structpublish/action/ |
H A D | sqlitefunction.php | 33 * @param string $pid The page id 48 $pid = $args[0]; 53 $pid, 62 * @param string $pid Page to check 68 public static function userHasRole($pid, $userId = '', $grps = [], $roles = []) argument 79 $rules = $assignments->getPageAssignments($pid);
|
/plugin/editions/ |
H A D | action.php | 55 $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/icalevents/vendor/sabre/vobject/resources/schema/ |
H A D | xcard.rng | 90 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 D | xcard.rng | 90 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/struct/script/ |
H A D | InlineEditor.js | 12 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
|