/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;
|
H A D | PageImage.php | 11 use ComboStrap\WikiPath; alias 29 * @var WikiPath 31 private WikiPath $image; 41 public function __construct(WikiPath $image, MarkupPath $page) 48 * @param WikiPath $image 52 public static function create(WikiPath $image, ResourceCombo $page): PageImage 77 public function getImagePath(): WikiPath
|
H A D | PageImagePath.php | 11 use ComboStrap\WikiPath; alias 68 WikiPath::addRootSeparatorIfNotPresent($value); 69 $path = WikiPath::createMediaPathFromPath($value); 79 return WikiPath::MEDIA_DRIVE;
|
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 | SocialCardImage.php | 15 use ComboStrap\WikiPath; alias 62 public function getValue(): WikiPath 90 private function getFeaturedRasterImageOrFirst(ResourceCombo $contextPage): WikiPath 102 return WikiPath::MEDIA_DRIVE;
|
H A D | TwitterImage.php | 9 use ComboStrap\WikiPath; alias 75 return WikiPath::MEDIA_DRIVE;
|
/plugin/combo/ComboStrap/Meta/Store/ |
H A D | MetadataDokuWikiStore.php | 23 use ComboStrap\WikiPath; alias 325 if (!$wikiPage instanceof WikiPath) {
|
/plugin/combo/ComboStrap/ |
H A D | Outline.php | 507 public static function createFromMarkup(string $content, Path $contentPath, WikiPath $contextPath): Outline 626 if (!($path instanceof WikiPath)) {
|
H A D | PageExplorerTag.php | 144 * @param WikiPath $namespacePath 147 public static function toNamespaceName(WikiPath $namespacePath): string 327 WikiPath::addNamespaceEndSeparatorIfNotPresent($namespaceAttribute); 328 $namespacePath = WikiPath::createMarkupPathFromPath($namespaceAttribute); 333 $namespacePath = WikiPath::createRootNamespacePathOnMarkupDrive(); 718 * @var WikiPath $containerPath
|
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 | 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 | PathAbs.php | 81 * Utility {@link WikiPath::createFromPathObject()} 83 function toWikiPath(): WikiPath 85 if ($this instanceof WikiPath) { 113 if ($this instanceof WikiPath) {
|
H A D | PathTreeNode.php | 73 $path = WikiPath::createMarkupPathFromId($id); 82 * @var WikiPath $parentPath
|
H A D | PermalinkTag.php | 99 $urlId = WikiPath::removeRootSepIfPresent($urlPath); // delete the root sep (ie :)
|
H A D | PluginUtility.php | 529 $logoPath = WikiPath::createComboResource("images:logo.svg");
|
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 | Reference.php | 54 return WikiPath::MARKUP_DRIVE;
|
H A D | SearchTag.php | 54 $id = WikiPath::createRequestedPagePathFromRequest()->getWikiId();
|
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);
|