Lines Matching refs:markupPath
74 private $markupPath; variable in ComboStrap\\DatabasePageRow
128 if (!FileSystems::exists($this->markupPath)) {
129 …ew ExceptionCompile("You can't replicate the non-existing page ($this->markupPath) on the file sys…
145 $fsStore = MetadataDokuWikiStore::getOrCreateFromResource($this->markupPath);
146 $dbStore = MetadataDbStore::getOrCreateFromResource($this->markupPath);
149 ->setResource($this->markupPath)
184 $pageId = $this->markupPath->getPageId();
186 $pageId = PageId::generateAndStorePageId($this->markupPath);
314 $databasePage->markupPath = MarkupPath::createMarkupFromId($id);
341 $modifiedTime = FileSystems::getModifiedTime($this->markupPath->getPathObject());
350 $path = $this->markupPath->fetchAnalyticsPath();
414 …LogUtility::error("Something went wrong when deleting the page ({$this->markupPath}) from the data…
451 function getDatabaseRowFromPage(MarkupPath $markupPath): array argument
454 $this->setMarkupPath($markupPath);
460 $pageId = $markupPath->getPageId();
470 $path = $markupPath->getPathObject();
480 $id = $markupPath->getPathObject()->toWikiPath()->getWikiId();
490 $canonical = Canonical::createForPage($markupPath)->getValue();
531 if (!FileSystems::exists($this->markupPath)) {
532 …throw new ExceptionBadState("You can't replicate the page ($this->markupPath) because it does not …
538 $replicationDate = ReplicationDate::createFromPage($this->markupPath)
629 if ($this->markupPath === null) {
649 … if ($duplicatePage->getPathObject()->toUriString() === $this->markupPath->toUriString()) {
650 … $message = "The page ($this->markupPath) is already in the database with the uid ($pageIdAbbr).";
652 …$message = "The page ($this->markupPath) cannot be replicated to the database because it has the s…
658 $wikiPath = $this->markupPath->toWikiPath();
661 …throw new ExceptionBadState("The markup path {$this->markupPath} could not be transformed as wiki …
669 …$values[Canonical::PROPERTY_NAME] = Canonical::createForPage($this->markupPath)->getValueOrDefault…
756 return $this->markupPath->__toString();
771 if ($this->markupPath != null) {
819 if ($this->markupPath != null) {
820 $this->markupPath->rebuild();
822 $row = $this->getDatabaseRowFromPage($this->markupPath);
840 $sourceStore = MetadataDokuWikiStore::getOrCreateFromResource($this->markupPath);
841 $targetStore = MetadataDbStore::getOrCreateFromResource($this->markupPath);
870 ->setResource($this->markupPath)
885 $metaRecord[self::IS_INDEX_COLUMN] = ($this->markupPath->isIndexPage() === true ? 1 : 0);
959 $this->markupPath = $page;
1009 $this->markupPath->unsetMetadata($canonicalName);
1074 … if ($this->markupPath != null && $attributeValue !== $this->markupPath->getWikiId()) {
1079 …LogUtility::error("The page ($this->markupPath) and the page ($attributeValue) have the same $attr…
1133 $this->markupPath === null
1136 … $this->markupPath = MarkupPath::createMarkupFromId($this->row[DokuwikiId::DOKUWIKI_ID_ATTRIBUTE]);
1138 return $this->markupPath;
1200 LogUtility::info("Add alias ($aliasPath) for page ({$this->markupPath})");
1202 Aliases::createForPage($this->markupPath)
1207 … LogUtility::msg("Unable to add the alias ($aliasPath) for the page ($this->markupPath)");
1216 $values[PageId::getPersistentName()] = $this->markupPath->getPageId();
1219 $values[PageId::PAGE_ID_ABBR_ATTRIBUTE] = $this->markupPath->getPageIdAbbr();
1260 $fetchPath = $this->markupPath->fetchAnalyticsPath();
1272 $replicationDateMeta = ReplicationDate::createFromPage($this->markupPath)
1286 $record['IS_LOW_QUALITY'] = ($this->markupPath->isLowQualityPage() === true ? 1 : 0);
1296 if ($this->markupPath === null) {
1300 $markupWikiId = $this->markupPath->toWikiPath()->getWikiId();
1308 …ikiIdInDatabase) has been added as redirect alias for the page ($this->markupPath)", self::CANONIC…
1314 …$errorMessage = "The page ($this->markupPath) and the page ($wikiIdInDatabase) have the same $attr…