/plugin/combo/ComboStrap/ |
H A D | WikiPath.php | 19 * 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 D | EditButton.php | 179 $slotPath = WikiPath::createMarkupPathFromId($wikiId);
|
H A D | FetcherMarkup.php | 113 * @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 D | PageLevel.php | 33 return substr_count($this->getResource()->getPathObject()->toAbsoluteId(), WikiPath::NAMESPACE_SEPARATOR_DOUBLE_POINT) - 1;
|
H A D | PagePath.php | 90 return WikiPath::MARKUP_DRIVE;
|
H A D | FetcherPageBundler.php | 87 $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 D | FirstRasterImage.php | 51 * @return WikiPath 54 public function getValue(): WikiPath 69 return WikiPath::createMediaPathFromId($firstImageId); 83 return WikiPath::MEDIA_DRIVE;
|
H A D | PageUrlPath.php | 317 return WikiPath::removeRootSepIfPresent($this->getValueOrDefault());
|
H A D | Path.php | 75 * 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 D | FsWikiUtility.php | 57 WikiPath::checkNamespacePath($path); 62 $dokuPath = WikiPath::createMarkupPathFromPath($path);
|
H A D | PermalinkTag.php | 99 $urlId = WikiPath::removeRootSepIfPresent($urlPath); // delete the root sep (ie :)
|
H A D | QualityTag.php | 15 * @param WikiPath $wikiPath 18 public static function createQualityReport(WikiPath $wikiPath): Message 120 $contextPath = WikiPath::createMarkupPathFromId($pageId);
|
H A D | IFetcherLocalImage.php | 14 * @param WikiPath $path 20 public static function createImageFetchFromPath(WikiPath $path): IFetcherLocalImage 56 $dokuPath = WikiPath::createMediaPathFromId($imageId, $rev);
|
H A D | IconDownloader.php | 199 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 D | IdentityFormsHelper.php | 116 $logoPath = WikiPath::createComboResource(":images:home.svg"); 234 public static function getLogoHtml(WikiPath $logoImagePath): string 272 public static function getLogoPath(): WikiPath
|
H A D | Site.php | 71 * @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 D | SiteConfig.php | 49 * @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 D | SlotManagerMenuItem.php | 103 $requestedPath = WikiPath::getContextPath();
|
H A D | Slug.php | 36 $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 D | Snippet.php | 234 * @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 D | instructionspostprocessing.php | 11 use ComboStrap\WikiPath; alias 119 $executingPath = WikiPath::createMarkupPathFromId($executingId);
|
H A D | canonical.php | 6 use ComboStrap\WikiPath; alias 76 $pageViewCanonical = str_replace(WikiPath::NAMESPACE_SEPARATOR_DOUBLE_POINT, "/", $canonical);
|
/plugin/combo/ComboStrap/Meta/Field/ |
H A D | FeaturedSvgImage.php | 11 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 D | MetadataDokuWikiStore.php | 23 use ComboStrap\WikiPath; alias 325 if (!$wikiPage instanceof WikiPath) {
|