Home
last modified time | relevance | path

Searched refs:WikiPath (Results 76 – 99 of 99) sorted by last modified time

1234

/plugin/combo/ComboStrap/
H A DWikiPath.php19 * Dokuwiki knows only two drives ({@link WikiPath::MARKUP_DRIVE} and {@link WikiPath::MEDIA_DRIVE}
20 * but we have added a couple more such as the {@link WikiPath::COMBO_DRIVE combo resources}
21 * and the {@link WikiPath::CACHE_DRIVE} to be able to serve resources
28 class WikiPath extends PathAbs class
58 * For now, there is only one value: {@link WikiPath::COMBO_DRIVE}
64 * combo resources directory ie {@link WikiPath::COMBO_DRIVE}
106 * The separator from the {@link WikiPath::getDrive()}
124 * that ends with the {@link WikiPath::NAMESPACE_SEPARATOR_DOUBLE_POINT} points to a start page
145 $path = WikiPath
[all...]
H A DEditButton.php179 $slotPath = WikiPath::createMarkupPathFromId($wikiId);
H A DFetcherMarkup.php113 * @var WikiPath the context path, it's important to resolve relative link and to create cache for each context namespace for instance
115 public WikiPath $requestedContextPath;
161 * @param ?WikiPath $contextPath - the context path, the requested path in the browser url (from where relative component are resolved (ie links, ...))
165 public static function createXhtmlMarkupFetcherFromPath(Path $executingPath, WikiPath $contextPath = null): FetcherMarkup
295 $url->addQueryParameter(WikiPath::DRIVE_ATTRIBUTE, $wikiPath->getDrive());
797 if ($this->getSourcePath()->toWikiPath()->getDrive() !== WikiPath::MARKUP_DRIVE) {
820 public function getRequestedContextPath(): WikiPath
H A DPageLevel.php33 return substr_count($this->getResource()->getPathObject()->toAbsoluteId(), WikiPath::NAMESPACE_SEPARATOR_DOUBLE_POINT) - 1;
H A DPagePath.php90 return WikiPath::MARKUP_DRIVE;
H A DFetcherPageBundler.php87 $startMarkupWikiPath = WikiPath::createFromPathObject($startMarkup->getPathObject());
155 * @throws ExceptionBadArgument - if the path is not a {@link WikiPath web path}
159 $this->setSourcePath(WikiPath::createFromPathObject($requestedPath));
163 private function getRequestedContextPath(): WikiPath
H A DFirstRasterImage.php51 * @return WikiPath
54 public function getValue(): WikiPath
69 return WikiPath::createMediaPathFromId($firstImageId);
83 return WikiPath::MEDIA_DRIVE;
H A DPageUrlPath.php317 return WikiPath::removeRootSepIfPresent($this->getValueOrDefault());
H A DPath.php75 * Same concept than the {@link WikiPath::getWikiId()} but enhanced to other
79 * * the {@link WikiPath::getWikiId()} with the root for a WikiPath and the extension if not a wiki file to be compliant
83 * (such as {@link LocalPath} or {@link WikiPath} path
99 * * the {@link WikiPath::getWikiId()} with the root character for a WikiPath and the extension (txt, ...)
103 * (such as {@link LocalPath} or {@link WikiPath} path
130 * @return WikiPath an utility function
133 function toWikiPath(): WikiPath;
H A DFsWikiUtility.php57 WikiPath::checkNamespacePath($path);
62 $dokuPath = WikiPath::createMarkupPathFromPath($path);
H A DPermalinkTag.php99 $urlId = WikiPath::removeRootSepIfPresent($urlPath); // delete the root sep (ie :)
H A DQualityTag.php15 * @param WikiPath $wikiPath
18 public static function createQualityReport(WikiPath $wikiPath): Message
120 $contextPath = WikiPath::createMarkupPathFromId($pageId);
H A DIFetcherLocalImage.php14 * @param WikiPath $path
20 public static function createImageFetchFromPath(WikiPath $path): IFetcherLocalImage
56 $dokuPath = WikiPath::createMediaPathFromId($imageId, $rev);
H A DIconDownloader.php199 const COMBO = WikiPath::COMBO_DRIVE;
214 private WikiPath $path;
224 if (substr($iconNameSpace, 0, 1) != WikiPath::NAMESPACE_SEPARATOR_DOUBLE_POINT) {
225 $iconNameSpace = WikiPath::NAMESPACE_SEPARATOR_DOUBLE_POINT . $iconNameSpace;
227 if (substr($iconNameSpace, -1) != WikiPath::NAMESPACE_SEPARATOR_DOUBLE_POINT) {
231 $this->path = WikiPath::createMediaPathFromPath($mediaPathId);
259 $this->path = WikiPath::createComboResource($iconName . ".svg");
613 public function getPath(): WikiPath
H A DIdentityFormsHelper.php116 $logoPath = WikiPath::createComboResource(":images:home.svg");
234 public static function getLogoHtml(WikiPath $logoImagePath): string
272 public static function getLogoPath(): WikiPath
H A DSite.php71 * @return WikiPath[]
78 $dokuPath = WikiPath::createMediaPathFromId($logoPath);
123 $defaultSeparator = WikiPath::NAMESPACE_SEPARATOR_DOUBLE_POINT;
335 public static function getLogoAsSvgImage(): WikiPath
338 $image = WikiPath::createMediaPathFromId($svgLogo);
352 $pngLogoPath = WikiPath::createMediaPathFromId($pngLogo);
849 public static function getLogoImage(): WikiPath
H A DSiteConfig.php49 * @var WikiPath the {@link self::getContextPath()} when no context could be determined
51 private WikiPath $defaultContextPath;
261 public function setDefaultContextPath(WikiPath $contextPath)
277 * @return WikiPath - the default context path is if not set the root page
279 public function getDefaultContextPath(): WikiPath
288 return WikiPath::createMarkupPathFromId($ID);
290 return WikiPath::createRootNamespacePathOnMarkupDrive()->resolve(Site::getIndexPageName() . "." . WikiPath::MARKUP_DEFAULT_TXT_EXTENSION);
H A DSlotManagerMenuItem.php103 $requestedPath = WikiPath::getContextPath();
H A DSlug.php36 $excludedCharacters = array_merge(WikiPath::getReservedWords(), StringUtility::SEPARATORS_CHARACTERS);
37 $excludedCharacters[] = WikiPath::SLUG_SEPARATOR;
38 $parts = explode(WikiPath::NAMESPACE_SEPARATOR_DOUBLE_POINT, $string);
45 return strtolower(implode(WikiPath::SLUG_SEPARATOR, $wordsPart));
48 $slug = implode(WikiPath::NAMESPACE_SEPARATOR_DOUBLE_POINT, $parts);
53 WikiPath::addRootSeparatorIfNotPresent($slug);
H A DSnippet.php234 * @param WikiPath $path - a local path of the snippet (if the path does not exist, a remote url should be given)
256 public static function createSnippetFromPath(WikiPath $path): Snippet
349 $wikiPathObject = WikiPath::createComboResource($wikiPath);
361 $wikiPathObject = WikiPath::createComboResource(self::LIBRARY_BASE . $wikiPath);
386 $localPath = WikiPath::createComboResource(Snippet::LIBRARY_BASE . ":$libraryName");
481 public static function getInternalPathFromNameAndExtension($name, $extension): WikiPath
492 return WikiPath::createComboResource(self::SNIPPET_BASE)
708 $path = WikiPath::createFromPathObject($this->path);
/plugin/combo/action/
H A Dinstructionspostprocessing.php11 use ComboStrap\WikiPath; alias
119 $executingPath = WikiPath::createMarkupPathFromId($executingId);
H A Dcanonical.php6 use ComboStrap\WikiPath; alias
76 $pageViewCanonical = str_replace(WikiPath::NAMESPACE_SEPARATOR_DOUBLE_POINT, "/", $canonical);
/plugin/combo/ComboStrap/Meta/Field/
H A DFeaturedSvgImage.php11 use ComboStrap\WikiPath; alias
61 public function getDefaultValue(): WikiPath
71 return WikiPath::createMediaPathFromPath($parsedValue);
78 return WikiPath::MEDIA_DRIVE;
/plugin/combo/ComboStrap/Meta/Store/
H A DMetadataDokuWikiStore.php23 use ComboStrap\WikiPath; alias
325 if (!$wikiPage instanceof WikiPath) {

1234