Home
last modified time | relevance | path

Searched refs:isWritable (Results 1 – 8 of 8) sorted by relevance

/dokuwiki/inc/Search/Index/
H A DAbstractIndex.php26 protected bool $isWritable = false; variable in dokuwiki\\Search\\Index\\AbstractIndex
38 * @param bool $isWritable acquire a lock immediately?
41 public function __construct(string $idx, string $suffix = '', bool $isWritable = false) argument
47 if ($isWritable) $this->lock();
57 if ($this->isWritable) return;
59 $this->isWritable = true;
70 if (!$this->isWritable) return;
72 $this->isWritable = false;
80 public function isWritable(): bool function in dokuwiki\\Search\\Index\\AbstractIndex
82 return $this->isWritable;
H A DMemoryIndex.php31 public function __construct($idx, $suffix = '', $isWritable = false) argument
33 parent::__construct($idx, $suffix, $isWritable);
71 if (!$this->isWritable) throw new IndexLockException();
113 if (!$this->isWritable) return $result;
147 if (!$this->isWritable) throw new IndexLockException();
H A DFileIndex.php31 if (!$this->isWritable) throw new IndexLockException();
145 if (!$this->isWritable) return $result;
/dokuwiki/inc/Search/Collection/
H A DAbstractCollection.php38 protected bool $isWritable = false; variable in dokuwiki\\Search\\Collection\\AbstractCollection
104 $this->isWritable = true;
123 $this->isWritable = false;
136 return new FileIndex($this->idxEntity, '', $this->isWritable);
149 return new MemoryIndex($this->idxToken, $this->groupToSuffix($group), $this->isWritable);
159 … return new MemoryIndex($this->idxFrequency, $this->groupToSuffix($group), $this->isWritable);
168 return new FileIndex($this->idxReverse, '', $this->isWritable);
334 if (!$this->isWritable) {
H A DPageTitleCollection.php35 return new FileIndex($this->idxToken, '', $this->isWritable);
H A DDirectCollection.php55 if (!$this->isWritable) {
/dokuwiki/inc/Ui/Media/
H A DDisplayRow.php40 if ($this->mediaFile->isWritable() && $this->mediaFile->userPermission() >= AUTH_DELETE) {
/dokuwiki/inc/File/
H A DMediaFile.php113 public function isWritable() function in dokuwiki\\File\\MediaFile