/plugin/struct/action/ |
H A D | migration.php | 173 WHERE colref = %s 189 WHERE colref=$colno 262 [$pid, $rid, $rev, $colref, $rowno, $fixes] = $this->getFixedValues($row); 277 $s = "SELECT colref, pid, rid, rev, row, value FROM multi_$name"; 282 [$pid, $rid, $rev, $colref, $rowno, $fixes] = $this->getFixedValues($row); 290 AND colref = ? 292 $params = [$pid, $rid, $rev, $colref, $rowno]; 379 return "SELECT C.colref AS COL, T.class AS TYPE 400 $colref = $row['colref']; [all...] |
H A D | move.php | 151 $colref = $col->getColref(); 159 AND colref = $colref 164 SET col$colref = REPLACE(col$colref, ?, ?) 165 WHERE col$colref LIKE ?
|
/plugin/struct/db/ |
H A D | update0001.sql | 21 colref INTEGER NOT NULL, field 25 PRIMARY KEY ( sid, colref)
|
H A D | update0003.sql | 5 colref INTEGER NOT NULL, field 10 PRIMARY KEY(tbl, colref, pid, rev, row)
|
/plugin/struct/meta/ |
H A D | AccessTable.php | 508 $colref = $col->getColref(); 509 $colname = 'col' . $colref; 510 $outname = 'out' . $colref; 513 $tn = 'M' . $colref; 518 "DATA.$idColumn = $tn.$idColumn AND DATA.rev = $tn.rev AND $tn.colref = $colref" 623 * @param int $colref 625 protected function handleEmptyMulti($pid, $rid, $colref) 639 "DELETE FROM $this->mtable WHERE pid = ? AND rid = $this->rid AND rev = 0 AND colref IN (" . 624 handleEmptyMulti($pid, $rid, $colref) global() argument
|
H A D | AccessTableGlobal.php | 69 return "REPLACE INTO $this->mtable (pid, rid, rev, latest, colref, row, value) VALUES (?,?,?,?,?,?,?)"; 139 * @param int $colref 141 protected function handleEmptyMulti($pid, $rid, $colref) 145 "DELETE FROM $table WHERE pid = ? AND rid = ? AND colref = ?", 146 $pid, $rid, $colref 134 handleEmptyMulti($pid, $rid, $colref) global() argument
|
H A D | Column.php | 26 protected $colref; variable in dokuwiki\\plugin\\struct\\meta\\Column 36 * @param int $colref 40 public function __construct($sort, AbstractBaseType $type, $colref = 0, $enabled = true, $table = '') argument 44 $this->colref = (int)$colref; 111 return $this->colref; 124 return 'col' . $this->colref;
|
H A D | SchemaBuilder.php | 203 'colref' => $column->getColref(), 218 * @param int $colref 220 protected function migrateSingleToMulti($table, $colref) 223 $sqlSelect = "SELECT pid, rev, published, col$colref AS value FROM data_$table WHERE latest = 1"; 234 $colref, 247 $sqlInsert = "INSERT OR REPLACE INTO multi_$table (colref, pid, rev, published, row, value) VALUES $valueString"; // phpcs:ignore 260 $colref = count($this->oldschema->getColumns()) + 1; 278 if (!$this->addDataTableColumn($colref)) { 293 'colref' => $colref, 219 migrateSingleToMulti($table, $colref) global() argument [all...] |