Home
last modified time | relevance | path

Searched refs:WikiPath (Results 26 – 50 of 99) sorted by relevance

1234

/plugin/combo/ComboStrap/
H A DPathAbs.php81 * Utility {@link WikiPath::createFromPathObject()}
83 function toWikiPath(): WikiPath
85 if ($this instanceof WikiPath) {
113 if ($this instanceof 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 DFont.php47 return WikiPath::createComboResource(":fonts:LiberationSans-Regular.ttf")->toLocalPath();
52 return WikiPath::createComboResource(":fonts:LiberationSans-Bold.ttf")->toLocalPath();
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 DQualityTag.php15 * @param WikiPath $wikiPath
18 public static function createQualityReport(WikiPath $wikiPath): Message
120 $contextPath = WikiPath::createMarkupPathFromId($pageId);
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 DMarkupPath.php36 * 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 DCacheReportHtmlDataBlockArray.php54 if (!($sourcePath instanceof WikiPath)) {
56 $sourcePath = WikiPath::createFromPathObject($sourcePath);
H A DFetcherPage.php41 $wikiPath = WikiPath::createMarkupPathFromId($wikiId);
90 $url->deleteQueryParameter(WikiPath::DRIVE_ATTRIBUTE);
271 public function getRequestedPath(): WikiPath
297 $requestedPath = WikiPath::createFromPathObject($requestedPath);
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 DFetcherRaster.php48 return FetcherRaster::createImageRasterFetchFromPath(WikiPath::createMediaPathFromId($imageId, $rev));
60 $path = WikiPath::createFromPathObject($path);
303 public function setSourcePath(WikiPath $path): FetcherRaster
H A DPathTreeNode.php73 $path = WikiPath::createMarkupPathFromId($id);
82 * @var WikiPath $parentPath
H A DFsWikiUtility.php57 WikiPath::checkNamespacePath($path);
62 $dokuPath = WikiPath::createMarkupPathFromPath($path);
H A DBootstrap.php149 $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 DFetcherMarkupBuilder.php29 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 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/ComboStrap/Meta/Field/
H A DPageImages.php18 use ComboStrap\WikiPath; alias
101 WikiPath::addRootSeparatorIfNotPresent($imagePath);
102 $imagePathObject = WikiPath::createMediaPathFromPath($imagePath);
115 WikiPath::addRootSeparatorIfNotPresent($persistentValue);
116 $imagePathObject = WikiPath::createMediaPathFromPath($persistentValue);
H A DAliasPath.php9 use ComboStrap\WikiPath; alias
50 return WikiPath::MARKUP_DRIVE;
H A DTwitterImage.php9 use ComboStrap\WikiPath; alias
75 return WikiPath::MEDIA_DRIVE;
H A DFacebookImage.php11 use ComboStrap\WikiPath; alias
79 return WikiPath::MEDIA_DRIVE;
/plugin/combo/action/
H A Dcanonical.php6 use ComboStrap\WikiPath; alias
76 $pageViewCanonical = str_replace(WikiPath::NAMESPACE_SEPARATOR_DOUBLE_POINT, "/", $canonical);
H A Dstaticresource.php20 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 Dlang.php6 use ComboStrap\WikiPath; alias
76 $id = WikiPath::normalizeWikiPath($id);
H A Dinstructionspostprocessing.php11 use ComboStrap\WikiPath; alias
119 $executingPath = WikiPath::createMarkupPathFromId($executingId);
/plugin/combo/ComboStrap/Api/
H A DQualityMessageHandler.php11 use ComboStrap\WikiPath; alias
74 $markupPath = WikiPath::createMarkupPathFromId($id);

1234