| /plugin/struct/meta/ |
| H A D | AccessTableGlobal.php | 14 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 D | AccessTable.php | 20 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 D | AccessTableSerial.php | 14 public function __construct($table, $pid, $ts = 0, $rid = 0) argument 19 parent::__construct($table, $pid, $ts, $rid);
|
| H A D | AccessTablePage.php | 16 public function __construct($schema, $pid, $ts = 0, $rid = 0) argument 19 parent::__construct($schema, $pid, $ts, $rid);
|
| /plugin/struct/_test/mock/ |
| H A D | AccessTable.php | 17 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/ |
| D | imagesreference.php | 44 $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);
|
| D | anchorsreference.php | 44 $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 D | aggregationeditor.php | 36 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 D | inline.php | 37 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 D | migration.php | 262 [$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 D | bureaucracy.php | 120 $rid = json_decode($originalPid, null, 512)[1] ?? null; 121 if (($pid && $pids[$i] === $pid) || ($rid && $rids[$i] === $rid)) {
|
| /plugin/struct/script/ |
| H A D | AggregationEditor.js | 28 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 D | InlineEditor.js | 13 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/ |
| D | script.js | 16 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
|
| D | Status.php | 47 * @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/ |
| D | script.js | 32 const rid = $me.data('rid'); 38 if (!rid) { 53 url.searchParams.append('rid', rid);
|
| D | action.php | 173 $rid = $INPUT->str('rid'); 177 $row = $helper->getRow($schema, $pid, $rev, $rid); 183 $filename = empty($pid) ? $rid : noNS($pid);
|
| /plugin/log404/ |
| D | helper.php | 92 foreach ($this->getRecords() as $rid=>$rinfo) { 93 if ($rid != $id) { 97 $rid,
|
| /plugin/structsection/script/ |
| D | main.js | 22 const rid = 0; 35 $form.append(jQuery('<input type="hidden" name="rid">').val(rid)); 49 rid, property
|
| /plugin/struct/_test/ |
| H A D | StructTest.php | 71 * @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 D | AccessTableStructpublish.php | 35 $rid = $this->getRid() ?: "(SELECT (COALESCE(MAX(rid), 0 ) + 1) FROM $this->stable)"; 38 VALUES ($rid," . trim(str_repeat('?,', count($vals)), ',') . ');';
|
| H A D | Revision.php | 212 * @param int $rid 214 protected function updateCoreData($pid, $rid = 0) argument 224 $access = new AccessTableStructpublish($schema, $pid, 0, $rid);
|
| /plugin/wikindx/ |
| D | syntax.php | 182 foreach ($WKX_USED_IDS as $rid) 203 foreach ($aResponse as $rid => $item) 259 foreach ($aResponse as $rid => $item)
|
| /plugin/discussion/ |
| D | action.php | 757 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/ |
| D | plugin.info.txt | 3 email it@rid.pl
|