Home
last modified time | relevance | path

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

/dokuwiki/inc/Search/Index/
H A DMemoryIndex.php69 public function changeRow(int $rid, string $value): void argument
73 if ($rid > count($this->data)) {
74 $this->data = array_pad($this->data, $rid, '');
76 $this->data[$rid] = $value;
81 public function retrieveRow(int $rid): string argument
83 return $this->data[$rid] ?? '';
90 foreach ($rids as $rid) {
91 if (isset($this->data[$rid])) $result[$rid] = $this->data[$rid];
H A DAbstractIndex.php139 * @param int $rid the line number, count starting at 0
142 abstract public function changeRow(int $rid, string $value); argument
149 * @param int $rid the line number
152 abstract public function retrieveRow(int $rid): string; argument
H A DFileIndex.php27 public function changeRow(int $rid, string $value): void argument
48 fwrite($fh, (++$ln == $rid) ? $value : $curline);
53 if ($rid > $ln) {
54 while ($rid > ++$ln) {
68 public function retrieveRow(int $rid): string argument
79 if (++$ln == $rid) {
/dokuwiki/inc/Search/
H A DIndexer.php273 foreach ($pageIndex as $rid => $value) {
274 if ($value === $oldpage) $oldId = $rid;
275 if ($value === $newpage) $newId = $rid;