Home
last modified time | relevance | path

Searched refs:colref (Results 1 – 8 of 8) sorted by path

/plugin/struct/action/
H A Dmigration.php173 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 Dmove.php151 $colref = $col->getColref();
159 AND colref = $colref
164 SET col$colref = REPLACE(col$colref, ?, ?)
165 WHERE col$colref LIKE ?
/plugin/struct/db/
H A Dupdate0001.sql21 colref INTEGER NOT NULL, field
25 PRIMARY KEY ( sid, colref)
H A Dupdate0003.sql5 colref INTEGER NOT NULL, field
10 PRIMARY KEY(tbl, colref, pid, rev, row)
/plugin/struct/meta/
H A DAccessTable.php508 $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 DAccessTableGlobal.php69 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 DColumn.php26 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 DSchemaBuilder.php203 '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...]