/plugin/combo/ComboStrap/ |
H A D | PathAbs.php | 81 * Utility {@link WikiPath::createFromPathObject()} 83 function toWikiPath(): WikiPath 85 if ($this instanceof WikiPath) { 113 if ($this instanceof 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 | Font.php | 47 return WikiPath::createComboResource(":fonts:LiberationSans-Regular.ttf")->toLocalPath(); 52 return WikiPath::createComboResource(":fonts:LiberationSans-Bold.ttf")->toLocalPath();
|
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 | QualityTag.php | 15 * @param WikiPath $wikiPath 18 public static function createQualityReport(WikiPath $wikiPath): Message 120 $contextPath = WikiPath::createMarkupPathFromId($pageId);
|
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 | MarkupPath.php | 36 * This should be an extension of {@link WikiPath} but for now, we are not extending {@link WikiPath} 42 * But because this is a {@link ResourceCombo}, we see tht this is part of the {@link WikiPath} 46 * via the {@link WikiPath::getDrive()} ? 182 * May be we just should extends {@link WikiPath} but it was a way to be able to locate 184 * TODO: Just extends WikiPath and add private drive when data should be accessed locally ? 209 $wikiPath = WikiPath::createExecutingMarkupWikiPath(); 216 return new MarkupPath(WikiPath::createMarkupPathFromId($id)); 225 $wikiPath = WikiPath::createMarkupPathFromPath($path); 236 $path = WikiPath [all...] |
H A D | CacheReportHtmlDataBlockArray.php | 54 if (!($sourcePath instanceof WikiPath)) { 56 $sourcePath = WikiPath::createFromPathObject($sourcePath);
|
H A D | FetcherPage.php | 41 $wikiPath = WikiPath::createMarkupPathFromId($wikiId); 90 $url->deleteQueryParameter(WikiPath::DRIVE_ATTRIBUTE); 271 public function getRequestedPath(): WikiPath 297 $requestedPath = WikiPath::createFromPathObject($requestedPath);
|
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 | FetcherRaster.php | 48 return FetcherRaster::createImageRasterFetchFromPath(WikiPath::createMediaPathFromId($imageId, $rev)); 60 $path = WikiPath::createFromPathObject($path); 303 public function setSourcePath(WikiPath $path): FetcherRaster
|
H A D | PathTreeNode.php | 73 $path = WikiPath::createMarkupPathFromId($id); 82 * @var WikiPath $parentPath
|
H A D | FsWikiUtility.php | 57 WikiPath::checkNamespacePath($path); 62 $dokuPath = WikiPath::createMarkupPathFromPath($path);
|
H A D | Bootstrap.php | 149 $stylesheetsFile = WikiPath::createComboResource(':library:bootstrap:bootstrapStylesheet.json'); 160 $localStyleSheetsFile = WikiPath::createComboResource(':library:bootstrap:bootstrapLocal.json'); 267 $bootstrapJsonFile = WikiPath::createComboResource(Snippet::LIBRARY_BASE . ":bootstrap:bootstrapJavascript.json"); 287 $path = WikiPath::createComboResource(":library:bootstrap:$version:$fileNameWithExtension");
|
H A D | FetcherMarkupBuilder.php | 29 protected WikiPath $requestedContextPath; 67 if ($markuSourceWikiPath->getDrive() === WikiPath::MARKUP_DRIVE) { 131 * * With {@link WikiPath Wiki Path}: `ns_without_scope` 148 * @param WikiPath $contextPath 151 public function setRequestedContextPath(WikiPath $contextPath): FetcherMarkupBuilder
|
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/ComboStrap/Meta/Field/ |
H A D | PageImages.php | 18 use ComboStrap\WikiPath; alias 101 WikiPath::addRootSeparatorIfNotPresent($imagePath); 102 $imagePathObject = WikiPath::createMediaPathFromPath($imagePath); 115 WikiPath::addRootSeparatorIfNotPresent($persistentValue); 116 $imagePathObject = WikiPath::createMediaPathFromPath($persistentValue);
|
H A D | AliasPath.php | 9 use ComboStrap\WikiPath; alias 50 return WikiPath::MARKUP_DRIVE;
|
H A D | TwitterImage.php | 9 use ComboStrap\WikiPath; alias 75 return WikiPath::MEDIA_DRIVE;
|
H A D | FacebookImage.php | 11 use ComboStrap\WikiPath; alias 79 return WikiPath::MEDIA_DRIVE;
|
/plugin/combo/action/ |
H A D | canonical.php | 6 use ComboStrap\WikiPath; alias 76 $pageViewCanonical = str_replace(WikiPath::NAMESPACE_SEPARATOR_DOUBLE_POINT, "/", $canonical);
|
H A D | staticresource.php | 20 use ComboStrap\WikiPath; alias 79 $drive = $_GET[WikiPath::DRIVE_ATTRIBUTE] ?? null; 92 if ($drive === WikiPath::CACHE_DRIVE) { 131 //$event->data['file'] = WikiPath::createComboResource("images:error-bad-format.svg")->toLocalPath()->toAbsolutePath()->toQualifiedId(); 177 $drive = $_GET[WikiPath::DRIVE_ATTRIBUTE] ?? null;
|
H A D | lang.php | 6 use ComboStrap\WikiPath; alias 76 $id = WikiPath::normalizeWikiPath($id);
|
H A D | instructionspostprocessing.php | 11 use ComboStrap\WikiPath; alias 119 $executingPath = WikiPath::createMarkupPathFromId($executingId);
|
/plugin/combo/ComboStrap/Api/ |
H A D | QualityMessageHandler.php | 11 use ComboStrap\WikiPath; alias 74 $markupPath = WikiPath::createMarkupPathFromId($id);
|