Lines Matching refs:data
21 protected array $data = []; variable in dokuwiki\\Search\\Index\\MemoryIndex
37 $this->data = file($this->filename, FILE_IGNORE_NEW_LINES);
73 if ($rid > count($this->data)) {
74 $this->data = array_pad($this->data, $rid, '');
76 $this->data[$rid] = $value;
83 return $this->data[$rid] ?? '';
91 if (isset($this->data[$rid])) $result[$rid] = $this->data[$rid];
104 $count = count($this->data);
106 $line = $this->data[$ln];
117 $this->data[] = $value;
128 return preg_grep($re, $this->data);
155 fwrite($fh, implode("\n", $this->data));
156 if ($this->data !== []) {
184 return count($this->data);
190 return new \ArrayIterator($this->data);