Home
last modified time | relevance | path

Searched refs:rid (Results 1 – 25 of 97) 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
28 $this->sqlite->query($sql, $this->rid);
30 $this->sqlite->query($sql, $this->rid);
58 $rid = $this->getRid() ?: "(SELECT (COALESCE(MAX(rid), 0 ) + 1) FROM $this->stable)";
61 VALUES ($rid," . trim(str_repeat('?,', count($vals)), ',') . ');';
108 return [$this->pid, $this->rid, AccessTable::DEFAULT_REV, AccessTable::DEFAULT_LATEST];
118 if (!$this->rid) {
119 …$this->rid = $this->sqlite->queryValue("SELECT rid FROM $this->stable WHERE ROWID = last_insert_ro…
[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 Row id, 0 for page type data, otherwise autoincrement
[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);
/plugin/struct/_test/mock/
H A DAccessTable.php17 public static function getGlobalAccess($tablename, $rid = 0) argument
20 return new AccessTableGlobal($schema, '', 0, $rid);
27 * @param int $rid
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);
43 * @param int $rid
47 public static function byTableName($tablename, $pid, $ts = 0, $rid = 0) argument
/plugin/markdowku/
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);
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/action/
H A Daggregationeditor.php36 protected $rid = 0; variable in action_plugin_struct_aggregationeditor
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) {
H A Dinline.php37 protected $rid = 0; variable in action_plugin_struct_inline
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);
H A Dmigration.php262 [$pid, $rid, $rev, $colref, $rowno, $fixes] = $this->getFixedValues($row);
270 $params = [$pid, $rid, $rev];
282 [$pid, $rid, $rev, $colref, $rowno, $fixes] = $this->getFixedValues($row);
292 $params = [$pid, $rid, $rev, $colref, $rowno];
398 $rid = $row['rid'];
420 return [$pid, $rid, $rev, $colref, $rowno, $fixes];
H A Dbureaucracy.php120 $rid = json_decode($originalPid, null, 512)[1] ?? null;
121 if (($pid && $pids[$i] === $pid) || ($rid && $rids[$i] === $rid)) {
/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, property
H A DInlineEditor.js13 var rid = $self.parent().data('rid');
18 if ((!pid && !rid) || !field) return;
27 $form.append(jQuery('<input type="hidden" name="rid">').val(rid));
41 rid: rid, property
/plugin/structstatus/
Dscript.js16 rid: $self.parent().data('rid'), property
75 const rid = jQuery(this).data('rid');
76 if (rid === toggle) {
79 set.push(rid); // this is an enabled value we keep
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/
Dscript.js32 const rid = $me.data('rid');
38 if (!rid) {
53 url.searchParams.append('rid', rid);
Daction.php173 $rid = $INPUT->str('rid');
177 $row = $helper->getRow($schema, $pid, $rev, $rid);
183 $filename = empty($pid) ? $rid : noNS($pid);
/plugin/log404/
Dhelper.php92 foreach ($this->getRecords() as $rid=>$rinfo) {
93 if ($rid != $id) {
97 $rid,
/plugin/structsection/script/
Dmain.js22 const rid = 0;
35 $form.append(jQuery('<input type="hidden" name="rid">').val(rid));
49 rid, property
/plugin/struct/_test/
H A DStructTest.php71 * @param int $rid
73 protected function saveData($page, $table, $data, $rev = 0, $rid = 0) argument
81 $access = AccessTable::getGlobalAccess($table, $rid);
/plugin/structpublish/meta/
H A DAccessTableStructpublish.php35 $rid = $this->getRid() ?: "(SELECT (COALESCE(MAX(rid), 0 ) + 1) FROM $this->stable)";
38 VALUES ($rid," . trim(str_repeat('?,', count($vals)), ',') . ');';
H A DRevision.php212 * @param int $rid
214 protected function updateCoreData($pid, $rid = 0) argument
224 $access = new AccessTableStructpublish($schema, $pid, 0, $rid);
/plugin/wikindx/
Dsyntax.php182 foreach ($WKX_USED_IDS as $rid)
203 foreach ($aResponse as $rid => $item)
259 foreach ($aResponse as $rid => $item)
/plugin/discussion/
Daction.php757 foreach ($comments[$cid]['replies'] as $rid) {
758 $comments = $this->removeComment($rid, $comments);
961 foreach ($comment['replies'] as $rid) {
962 $this->showCommentWithReplies($rid, $data, $cid, $reply, $isVisible);
1492 foreach ($rids as $rid) {
1493 if (!isset($data['comments'][$rid])) continue; // reply was removed
1494 if (!$data['comments'][$rid]['show']) continue;
1497 $rids = $data['comments'][$rid]['replies'];
1791 foreach ($comment['replies'] as $rid) {
1792 if ($this->phraseMatchInComment($phrase, $rid, $data, $cid)) {
[all …]
/plugin/structcombolookup/
Dplugin.info.txt3 email it@rid.pl

1234