Home
last modified time | relevance | path

Searched refs:rid (Results 1 – 25 of 90) sorted by relevance

1234

/plugin/struct/meta/
H A DAccessTableGlobal.php14 public function __construct($table, $pid, $ts = 0, $rid = 0) argument
16 parent::__construct($table, $pid, $ts, $rid);
24 if (!$this->rid) return; // no data
27 $sql = 'DELETE FROM data_' . $this->schema->getTable() . ' WHERE rid = ?';
28 $this->sqlite->query($sql, $this->rid);
29 $sql = 'DELETE FROM multi_' . $this->schema->getTable() . ' WHERE rid = ?';
30 $this->sqlite->query($sql, $this->rid);
44 protected function buildGetDataSQL($idColumn = 'rid')
58 $rid = $this->getRid() ?: "(SELECT (COALESCE(MAX(rid),
134 handleEmptyMulti($pid, $rid, $colref) global() argument
[all...]
H A DAccessTable.php20 protected $rid; variable in dokuwiki\\plugin\\struct\\meta\\AccessTable
63 public static function getSerialAccess($tablename, $pid, $rid = 0) argument
66 return new AccessTableSerial($schema, $pid, 0, $rid);
69 public static function getGlobalAccess($tablename, $rid = 0) argument
72 return new AccessTableGlobal($schema, '', 0, $rid);
81 * @param int $rid Row id, 0 for page type data, otherwise autoincrement
85 public static function bySchema(Schema $schema, $pid, $ts = 0, $rid = 0) argument
88 return new AccessTablePage($schema, $pid, $ts, $rid);
90 return new AccessTableGlobal($schema, $pid, $ts, $rid);
99 * @param int $rid Ro
104 byTableName($tablename, $pid, $ts = 0, $rid = 0) global() argument
124 __construct($schema, $pid, $ts = 0, $rid = 0) global() argument
624 handleEmptyMulti($pid, $rid, $colref) global() argument
[all...]
H A DAccessTableSerial.php14 public function __construct($table, $pid, $ts = 0, $rid = 0) argument
19 parent::__construct($table, $pid, $ts, $rid);
H A DAccessTablePage.php16 public function __construct($schema, $pid, $ts = 0, $rid = 0) argument
19 parent::__construct($schema, $pid, $ts, $rid);
83 "UPDATE $this->stable SET latest = 0 WHERE latest = 1 AND pid = ? AND rid = 0",
88 "UPDATE $this->mtable SET latest = 0 WHERE latest = 1 AND pid = ? AND rid = 0",
100 return ['rid, pid, rev, latest'];
117 return "INSERT INTO $this->mtable (latest, rev, pid, rid, colref, row, value) VALUES (?,?,?,?,?,?,?)";
/plugin/markdowku/
H A Dimagesreference.php44 $rid = $matches[1];
46 $rid = $matches[2];
48 $rid = preg_replace("/ /", ".", $rid);
49 $target = p_get_metadata($ID, 'markdowku_references_'.$rid, METADATA_RENDER_USING_CACHE);
H A Danchorsreference.php44 $rid = $matches[1];
46 $rid = $matches[2];
48 $rid = preg_replace("/ /", ".", $rid);
49 $target = p_get_metadata($ID, 'markdowku_references_'.$rid, METADATA_RENDER_USING_CACHE);
/plugin/struct/script/
H A DAggregationEditor.js28 const rid = $me.data('rid');
33 if (!rid) {
40 if (rid === '') return; // skip button addition for page data
42 if (rid && pid && disableDeleteSerial) {
58 rid: rid,
H A DInlineEditor.js13 var rid = $self.parent().data('rid');
17 if ((!pid && !rid) || !field) return;
26 $form.append(jQuery('<input type="hidden" name="rid">').val(rid));
40 rid: rid,
/plugin/struct/action/
H A Daggregationeditor.php36 protected $rid = 0;
105 $this->rid = $INPUT->int('rid');
137 $this->rid = $access->getRid();
229 return AccessTable::getSerialAccess($tablename, $this->pid, $this->rid);
231 return AccessTable::getGlobalAccess($tablename, $this->rid);
242 $config['filter'][] = ['%rowid%', '=', $this->rid, 'AND'];
254 if (!$this->rid) {
33 protected $rid = 0; global() variable in action_plugin_struct_aggregationeditor
H A Dmigration.php106 // add rid and new primary key to regular tables
108 $sql = preg_replace('/(PRIMARY KEY ?\([^\)]+?)(\))/', ' rid INTEGER, $1, rid $2', $sql, -1, $cnt);
109 // add rid and new primary key to lookup tables
111 $sql = str_replace(')', ', rid INTEGER, PRIMARY KEY(pid,rid) )', $sql);
134 // transfer pid to rid
232 * was always ["", <previous-pid-aka-new-rid>]. For page references it is ["<previous-pid>", 0]
257 $s = 'SELECT pid, rid, rev, ' . implode(', ', $colnames) . " FROM data_$name";
262 [$pid, $rid,
[all...]
H A Dinline.php37 protected $rid = 0;
213 $rid = $INPUT->int('rid');
217 if (blank($pid) && blank($rid)) return false;
226 $this->schemadata = AccessTable::getSerialAccess($table, $pid, $rid);
228 $this->schemadata = AccessTable::getGlobalAccess($table, $rid);
34 protected $rid = 0; global() variable in action_plugin_struct_inline
H A Dbureaucracy.php115 // lookups can reference pages or global data, so check both pid and rid
120 $rid = json_decode($originalPid, null, 512)[1] ?? null;
121 if (($pid && $pids[$i] === $pid) || ($rid && $rids[$i] === $rid)) {
/plugin/structstatus/
H A Dscript.js16 rid: $self.parent().data('rid'), property in AnonymousFunctione2c426950200.data
75 const rid = jQuery(this).data('rid');
76 if (rid === toggle) {
79 set.push(rid); // this is an enabled value we keep
H A DStatus.php47 * @param string $rid the identifier in the linked status lookup table
52 … public function xhtmlStatus($label, $color, $icon='', $rid = 0, $classes=array(), $button=false) { argument
60 …'" style="border-color:' . hsc($color) . '; fill: ' . hsc($color) . ';" data-rid="'.hsc($rid).'">';
165 $rid = json_encode(["", (int)array_shift($rids)]);
/plugin/structodt/
H A Dscript.js32 const rid = $me.data('rid');
38 if (!rid) {
53 url.searchParams.append('rid', rid);
H A Daction.php6 * @author Szymon Olewniczak <it@rid.pl>
173 $rid = $INPUT->str('rid');
177 $row = $helper->getRow($schema, $pid, $rev, $rid);
183 $filename = empty($pid) ? $rid : noNS($pid);
/plugin/log404/
H A Dhelper.php92 foreach ($this->getRecords() as $rid=>$rinfo) {
93 if ($rid != $id) {
97 $rid,
/plugin/structsection/script/
H A Dmain.js22 const rid = 0;
35 $form.append(jQuery('<input type="hidden" name="rid">').val(rid));
49 rid,
/plugin/structpublish/meta/
H A DAccessTableStructpublish.php34 $rid = $this->getRid() ?: "(SELECT (COALESCE(MAX(rid), 0 ) + 1) FROM $this->stable)";
36 return "REPLACE INTO $this->stable (rid, $cols)
37 VALUES ($rid," . trim(str_repeat('?,', count($vals)), ',') . ');';
H A DRevision.php213 * @param int $rid argument
215 protected function updateCoreData($pid, $rid = 0)
225 $access = new AccessTableStructpublish($schema, $pid, 0, $rid);
/plugin/discussion/
H A Daction.php712 foreach ($comments[$cid]['replies'] as $rid) {
713 $comments = $this->_removeComment($rid, $comments);
887 foreach ($comment['replies'] as $rid) {
888 $this->_print($rid, $data, $cid, $reply, $visible);
1379 foreach ($rids as $rid) {
1381 if (!$data['comments'][$rid]['show']) continue;
1383 $rids = $data['comments'][$rid]['replies'];
1646 foreach ($comment['replies'] as $rid) {
1647 if ($this->comment_phrase_match($phrase, $rid, $data, $cid)) {
1712 foreach ($comment['replies'] as $rid) {
[all …]
/plugin/structcombolookup/
H A Dplugin.info.txt3 email it@rid.pl
/plugin/approve/
H A Dplugin.info.txt3 email it@rid.pl
/plugin/filterrss/
H A Dplugin.info.txt3 email solewniczak@rid.pl
/plugin/subnumberlist/
H A Dplugin.info.txt3 email solewniczak@rid.pl

1234