/plugin/combo/ComboStrap/ |
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 | FsWikiUtility.php | 57 WikiPath::checkNamespacePath($path); 62 $dokuPath = WikiPath::createMarkupPathFromPath($path);
|
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 | Icon.php | 59 $mediaDokuPath = WikiPath::createMediaPathFromId($name); 97 $path = WikiPath::createComboResource(":$name.svg");
|
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 | ImageLink.php | 123 ->addQueryParameter(WikiPath::REV_ATTRIBUTE, $dokuPath->getRevision());
|
H A D | Index.php | 36 public function getPagesForMedia(WikiPath $media): array 78 $actualPage = WikiPath::createMarkupPathFromId($pageId);
|
H A D | LinkMarkup.php | 121 WikiPath::addRootSeparatorIfNotPresent($id); 539 return strpos($this->getMarkupRef()->getRef(), WikiPath::NAMESPACE_SEPARATOR_DOUBLE_POINT) !== 0;
|
H A D | LocalPath.php | 54 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 D | MarkupCacheDependencies.php | 159 if (!($pageWikiPath instanceof 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 | MarkupRef.php | 193 $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 D | MarkupRenderUtility.php | 71 $wikiPath = WikiPath::createMarkupPathFromId($pageId);
|
H A D | MarkupRenderer.php | 37 * @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 D | MediaMarkup.php | 881 public function getPath(): WikiPath
|
H A D | Message.php | 242 $canonicalPath = WikiPath::createFromUnknownRoot($this->canonical);
|
/plugin/combo/ComboStrap/Meta/Api/ |
H A D | MetadataWikiPath.php | 10 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 D | Alias.php | 11 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 D | AliasPath.php | 9 use ComboStrap\WikiPath; alias 50 return WikiPath::MARKUP_DRIVE;
|
H A D | Aliases.php | 19 use ComboStrap\WikiPath; alias 109 $path = WikiPath::createMarkupPathFromId($path);
|
H A D | AncestorImage.php | 12 use ComboStrap\WikiPath; alias 62 * @return WikiPath 65 public function getValue(): WikiPath 106 return WikiPath::MEDIA_DRIVE;
|
H A D | FacebookImage.php | 11 use ComboStrap\WikiPath; alias 79 return WikiPath::MEDIA_DRIVE;
|
H A D | FeaturedImage.php | 14 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 D | FeaturedRasterImage.php | 13 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;
|