Home
last modified time | relevance | path

Searched refs:pid (Results 51 – 75 of 117) sorted by relevance

12345

/plugin/extendpage/db/
H A Dupdate0001.sql9 pid NOT NULL, field
12 PRIMARY KEY(pid, pattern_id)
/plugin/structpublish/meta/
H A DAccessTableStructpublish.php49 return ['pid', 'rev', 'latest', 'published'];
55 return [$this->pid, AccessTable::DEFAULT_REV, AccessTable::DEFAULT_LATEST, $this->published];
65 $where = "WHERE pid = ?";
66 $opts = [$this->pid];
91 "UPDATE $this->stable SET latest = 0 WHERE latest = 1 AND pid = ?",
92 [$this->pid]
H A DRevision.php212 * @param string $pid
215 protected function updateCoreData($pid, $rid = 0)
225 $access = new AccessTableStructpublish($schema, $pid, 0, $rid);
213 updateCoreData($pid, $rid = 0) global() argument
/plugin/data-au/db/
H A Dupdate0001.sql1 CREATE TABLE dataau (eid INTEGER PRIMARY KEY, pid INTEGER, key, value); field
3 CREATE TABLE pages (pid INTEGER PRIMARY KEY, page, title); field
/plugin/data/db/
H A Dupdate0001.sql4 pid INTEGER,
11 pid INTEGER PRIMARY KEY,
1 CREATE TABLE data (eid INTEGER PRIMARY KEY, pid INTEGER, key, value); global() field
3 CREATE TABLE pages (pid INTEGER PRIMARY KEY, page, title); global() field
/plugin/struct/meta/
H A DAccessTableSerial.php14 public function __construct($table, $pid, $ts = 0, $rid = 0) argument
19 parent::__construct($table, $pid, $ts, $rid);
H A DCSVImporter.php114 $pageType = new Page(null, 'pid');
121 // just skip the checks for 'pid' but discard other columns not present in the schema
123 if ($head !== 'pid') {
211 // pid is a non-data column and must be supplied to the AccessTable separately
212 $pid = $data['pid'] ?? '';
213 unset($data['pid']);
219 $helper->saveData($pid, [$table => $data], 'CSV data imported');
223 $access = AccessTable::getSerialAccess($table, $pid);
/plugin/structpublish/db/
H A Dupdate0001.sql9 pid TEXT NOT NULL, field
13 PRIMARY KEY(pid, user, status)
/plugin/blogtng/action/
H A Dedit.php59 $pid = md5($ID);
60 $this->entryhelper->load_by_pid($pid);
74 $this->taghelper->load($pid);
162 $pid = md5($ID);
163 $this->entryhelper->load_by_pid($pid);
183 $this->taghelper->load($pid);
303 $pid = md5($ID);
305 $this->entryhelper->load_by_pid($pid);
344 $this->taghelper->load($pid);
H A Dpagedata.php41 $pid = md5($ID);
42 $this->entryhelper->load_by_pid($pid);
H A Dcomments.php83 $comment->setPid($INPUT->post->has('pid') ? $INPUT->post->str('pid') : null);
/plugin/html2pdf/html2pdf/html2ps/
H A Dstubs.memory_get_usage.inc.php20 $pid = getmypid();
21 exec("ps -eo%mem,rss,pid | grep $pid", $output);
/plugin/data-au/
H A Daction.php56 $pid = (int) $sqlite->res2single($res);
57 if(!$pid) return; // we have no dataau for this page
59 $sqlite->query('DELETE FROM dataau WHERE pid = ?',$pid);
60 $sqlite->query('DELETE FROM pages WHERE pid = ?',$pid);
/plugin/data/
H A Daction.php62 $pid = (int) $sqlite->queryValue('SELECT pid FROM pages WHERE page = ?', $id);
63 if (!$pid) return; // we have no data for this page
65 $sqlite->exec('DELETE FROM data WHERE pid = ?', $pid);
66 $sqlite->exec('DELETE FROM pages WHERE pid = ?', $pid);
/plugin/tindexmenu/
H A Dindexmenu.js25 function Node(a,c,b,d,e,f,g){this.dokuid=a;this.id=c;this.pid=b;this.name=d;this.hns=e;this.isdir=f…
31 …{var c="",b,d=a._ai,e=a._lv+1;for(d;d<this.aNodes.length&&!(this.aNodes[d].pid==a.id&&(b=this.aNod…
33 …_ok=!0;e='<div class="dTreeNode">'+this.indent(a,c);a.icon=this.root.id==a.pid?this.icon.root:a.hn…
34pid&&(a.icon=this.icon.root,a.iconOpen=this.icon.root);e+='<img id="i'+this.obj+c+'" src="'+(a._io…
35 …='<div id="d'+this.obj+c+'" class="clip" style="display:'+(this.root.id==a.pid||a._io?"block":"non…
37 …b;for(b=0;b<this.aNodes.length;b++)if(this.aNodes[b].pid==a.id&&(a._hc=!0),this.aNodes[b].pid==a.p…
39 …a){for(var c=0;c<this.aNodes.length;c++)this.aNodes[c]._hc&&this.aNodes[c].pid!=this.root.id&&(thi…
40 …++)if(this.aNodes[c].id==a){a=c;break}this.fill(this.aNodes[a].pid);a=this.aNodes[a];a.pid!=this.r…
43 …a="",c;for(c=0;c<this.aNodes.length;c++)this.aNodes[c]._io&&this.aNodes[c].pid!=this.root.id&&(a&&…
45 …kuid||e==a.hns){this.openTo(a.id,!1,!0);this.fajax=!1;0<=a.pid&&jQuery(this.scroll("l",4,a.pid,1))…
[all …]
/plugin/blogtng/helper/
H A Dentry.php48 * @param string $pid
51 public function load_by_pid($pid) { argument
56 $pid = trim($pid);
57 if (!$this->is_valid_pid($pid)) {
75 $this->entry['pid'] = $pid;
81 $this->entry['pid'] = $pid;
617 $pid = md5(cleanID($id));
621 WHERE pid = '$pid'";
639 AND A.pid != '$pid'
889 public function is_valid_pid($pid) { argument
[all …]
/plugin/struct/action/
H A Dmigration.php103 // update pid definitions
104 $sql = preg_replace('/pid (\w* ?NOT NULL|\w* ?PRIMARY KEY)/', 'pid TEXT DEFAULT ""', $sql);
111 $sql = str_replace(')', ', rid INTEGER, PRIMARY KEY(pid,rid) )', $sql);
134 // transfer pid to rid
135 $s = sprintf('INSERT INTO data_%s SELECT *, pid FROM temp_data_%s', $name, $name);
139 $s = sprintf('INSERT INTO multi_%s SELECT *, pid FROM temp_multi_%s', $name, $name);
144 $s = "UPDATE data_$name SET pid = ''";
148 $s = "UPDATE multi_$name SET pid = ''";
232 * was always ["", <previous-pid
[all...]
/plugin/structodt/
H A Daction.php171 $pid = $INPUT->str('pid');
177 $row = $helper->getRow($schema, $pid, $rev, $rid);
179 throw new \Exception("Row with id: $pid doesn't exists");
183 $filename = empty($pid) ? $rid : noNS($pid);
H A Dhelper.php44 * @param $pid
99 * @param $pid
224 * Get rows data, optionally filtered by pid
245 * Get single row by pid
248 * @param $pid
251 public function getRow($table, $pid, $rev, $rid) { argument
255 if (AccessTable::isTypePage($pid, $rev)) {
256 $search->addFilter('%pageid%', $pid, '=');
257 } elseif (AccessTable::isTypeSerial($pid, $rev)) {
258 $search->addFilter('%pageid%', $pid, '
[all...]
H A Dscript.js33 const pid = $me.data('pid');
51 url.searchParams.append('pid', pid);
/plugin/maintenance/
H A Dhelper.php76 $pid = trim(file_get_contents($this->script_last_pid_file));
77 $cmd = "ps p $pid >&-";
80 $cmd = "kill -9 $pid";
/plugin/tagging/
H A Dhelper.php127 $queries = array(array('DELETE FROM taggings WHERE pid = ? AND tagger = ?', $id, $user));
129 $queries[] = array('INSERT INTO taggings (pid, tagger, tag, lang) VALUES(?, ?, ?, ?)', $id, $user, $tag, $lang);
147 * @param string $type What field to return 'tag'|'pid'
165 if (isset($filter['pid'])) $queryBuilder->setPid($filter['pid']);
327 $filter = array('pid' => $INFO['id']);
354 'pid' => $INFO['id'],
383 $order_fields = array('pid', 'tid', 'taggers', 'ns', 'count');
393 $query = 'SELECT "pid",
396 GROUP_SORT(GROUP_CONCAT(GET_NS("pid")), \', \') A
517 modifyPageTag($pid, $formerTagName, $newTagName) global() argument
[all...]
/plugin/snippets/
H A Daction.php232 foreach($page_ids as $pid) {
233 $page_time= filemtime(wikiFN($pid));
235 $span = str_replace(':','_',$pid);
236 …ge_time) . '<td><a href="javascript:update_snippets(\''.$pid .'\');" id="' .$span . '">' .$pid .'…
/plugin/swarmwebhook/
H A Dhelper.php84 foreach ($pids as $pid) { // should only be a single entry
85 $schemadata = AccessTable::byTableName($tablename, $pid);
/plugin/fedauth/js/
H A Dadmin.js247 var pid = jQuery(elem).attr('name');
248 return pid.substring(pid.lastIndexOf('[')+1, pid.lastIndexOf(']'));

12345