Home
last modified time | relevance | path

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

1234

/plugin/combo/ComboStrap/
H A DFont.php47 return WikiPath::createComboResource(":fonts:LiberationSans-Regular.ttf")->toLocalPath();
52 return WikiPath::createComboResource(":fonts:LiberationSans-Bold.ttf")->toLocalPath();
H A DFsWikiUtility.php57 WikiPath::checkNamespacePath($path);
62 $dokuPath = WikiPath::createMarkupPathFromPath($path);
H A DIFetcherLocalImage.php14 * @param WikiPath $path
20 public static function createImageFetchFromPath(WikiPath $path): IFetcherLocalImage
56 $dokuPath = WikiPath::createMediaPathFromId($imageId, $rev);
H A DIcon.php59 $mediaDokuPath = WikiPath::createMediaPathFromId($name);
97 $path = WikiPath::createComboResource(":$name.svg");
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 DImageLink.php123 ->addQueryParameter(WikiPath::REV_ATTRIBUTE, $dokuPath->getRevision());
H A DIndex.php36 public function getPagesForMedia(WikiPath $media): array
78 $actualPage = WikiPath::createMarkupPathFromId($pageId);
H A DLinkMarkup.php121 WikiPath::addRootSeparatorIfNotPresent($id);
539 return strpos($this->getMarkupRef()->getRef(), WikiPath::NAMESPACE_SEPARATOR_DOUBLE_POINT) !== 0;
H A DLocalPath.php54 if ($path instanceof WikiPath) {
237 public function toWikiPath(): WikiPath
239 return WikiPath::createFromPathObject($this);
282 $relativePath = str_replace($this->getDirectorySeparator(), WikiPath::NAMESPACE_SEPARATOR_DOUBLE_POINT, $relativePath);
H A DMarkupCacheDependencies.php159 if (!($pageWikiPath instanceof 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 DMarkupRef.php193 $this->path = WikiPath::createRequestedPagePathFromRequest();
286 $rev = $this->url->getQueryPropertyValue(WikiPath::REV_ATTRIBUTE);
295 $this->path = WikiPath::createMediaPathFromId($wikiPath, $rev);
393 $wikiPath = str_replace(WikiPath::NAMESPACE_SEPARATOR_SLASH, WikiPath::NAMESPACE_SEPARATOR_DOUBLE_POINT, $wikiPath);
396 if ($wikiPath[strlen($wikiPath) - 1] === WikiPath::NAMESPACE_SEPARATOR_DOUBLE_POINT) {
400 if ($wikiPath[0] === WikiPath::NAMESPACE_SEPARATOR_DOUBLE_POINT) {
404 if ($wikiPath[0] === WikiPath::CURRENT_PATH_CHARACTER) {
407 if ($wikiPath[1] === WikiPath::CURRENT_PATH_CHARACTER) {
422 $cleanPath = WikiPath
[all...]
H A DMarkupRenderUtility.php71 $wikiPath = WikiPath::createMarkupPathFromId($pageId);
H A DMarkupRenderer.php37 * @var WikiPath the context path
40 private WikiPath $requestedContextPath;
53 * @param WikiPath|null $contextPath - the requested markup path - may be null (case of webcode)
56 public static function createFromMarkup(string $markup, ?Path $executingPath, ?WikiPath $contextPath): MarkupRenderer
195 * @param WikiPath $path
198 public function setRequestedContextPath(WikiPath $path): MarkupRenderer
216 private function getRequestedContextPath(): WikiPath
H A DMediaMarkup.php881 public function getPath(): WikiPath
H A DMessage.php242 $canonicalPath = WikiPath::createFromUnknownRoot($this->canonical);
/plugin/combo/ComboStrap/Meta/Api/
H A DMetadataWikiPath.php10 use ComboStrap\WikiPath; alias
15 * A wiki path value where the separator is a {@link WikiPath::NAMESPACE_SEPARATOR_DOUBLE_POINT}
44 * @var WikiPath
46 protected WikiPath $value;
49 * @param WikiPath|string|null $value
58 if ($value instanceof WikiPath) {
68 $value = WikiPath::toValidAbsolutePath($value);
69 $this->value = WikiPath::createWikiPath($value, $this->getDrive());
95 if (!($defaultValue instanceof WikiPath)) {
112 if ($value instanceof WikiPath) {
[all...]
/plugin/combo/ComboStrap/Meta/Field/
H A DAlias.php11 use ComboStrap\WikiPath; alias
19 private WikiPath $path; // the path of the alias
29 * @param WikiPath $path
31 public function __construct(MarkupPath $page, WikiPath $path)
39 * @return WikiPath
41 public function getPath(): WikiPath
68 static function create(ResourceCombo $page, WikiPath $alias): Alias
H A DAliasPath.php9 use ComboStrap\WikiPath; alias
50 return WikiPath::MARKUP_DRIVE;
H A DAliases.php19 use ComboStrap\WikiPath; alias
109 $path = WikiPath::createMarkupPathFromId($path);
H A DAncestorImage.php12 use ComboStrap\WikiPath; alias
62 * @return WikiPath
65 public function getValue(): WikiPath
106 return WikiPath::MEDIA_DRIVE;
H A DFacebookImage.php11 use ComboStrap\WikiPath; alias
79 return WikiPath::MEDIA_DRIVE;
H A DFeaturedImage.php14 use ComboStrap\WikiPath; alias
63 public function getValue(): WikiPath
74 * @return WikiPath
77 private function getFeaturedImageBlogForContext(ResourceCombo $contextPage): WikiPath
98 return WikiPath::MEDIA_DRIVE;
H A DFeaturedRasterImage.php13 use ComboStrap\WikiPath; alias
23 public static function getComboStrapLogo(): WikiPath
25 return WikiPath::createComboResource(":images:apple-touch-icon.png");
85 public function getDefaultValue(): WikiPath
108 public function getValueOrParsed(): WikiPath
120 private function getParsedValue(): WikiPath
135 return WikiPath::createMediaPathFromPath($parsedValue);
141 return WikiPath::MEDIA_DRIVE;

1234