Home
last modified time | relevance | path

Searched refs:WikiPath (Results 51 – 75 of 99) sorted by path

1234

/plugin/combo/ComboStrap/Meta/Field/
H A DFeaturedSvgImage.php11 use ComboStrap\WikiPath; alias
61 public function getDefaultValue(): WikiPath
71 return WikiPath::createMediaPathFromPath($parsedValue);
78 return WikiPath::MEDIA_DRIVE;
H A DPageImage.php11 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 DPageImagePath.php11 use ComboStrap\WikiPath; alias
68 WikiPath::addRootSeparatorIfNotPresent($value);
69 $path = WikiPath::createMediaPathFromPath($value);
79 return WikiPath::MEDIA_DRIVE;
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 DSocialCardImage.php15 use ComboStrap\WikiPath; alias
62 public function getValue(): WikiPath
90 private function getFeaturedRasterImageOrFirst(ResourceCombo $contextPage): WikiPath
102 return WikiPath::MEDIA_DRIVE;
H A DTwitterImage.php9 use ComboStrap\WikiPath; alias
75 return WikiPath::MEDIA_DRIVE;
/plugin/combo/ComboStrap/Meta/Store/
H A DMetadataDokuWikiStore.php23 use ComboStrap\WikiPath; alias
325 if (!$wikiPage instanceof WikiPath) {
/plugin/combo/ComboStrap/
H A DOutline.php507 public static function createFromMarkup(string $content, Path $contentPath, WikiPath $contextPath): Outline
626 if (!($path instanceof WikiPath)) {
H A DPageExplorerTag.php144 * @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 DPageLevel.php33 return substr_count($this->getResource()->getPathObject()->toAbsoluteId(), WikiPath::NAMESPACE_SEPARATOR_DOUBLE_POINT) - 1;
H A DPagePath.php90 return WikiPath::MARKUP_DRIVE;
H A DPageUrlPath.php317 return WikiPath::removeRootSepIfPresent($this->getValueOrDefault());
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 DPathAbs.php81 * Utility {@link WikiPath::createFromPathObject()}
83 function toWikiPath(): WikiPath
85 if ($this instanceof WikiPath) {
113 if ($this instanceof WikiPath) {
H A DPathTreeNode.php73 $path = WikiPath::createMarkupPathFromId($id);
82 * @var WikiPath $parentPath
H A DPermalinkTag.php99 $urlId = WikiPath::removeRootSepIfPresent($urlPath); // delete the root sep (ie :)
H A DPluginUtility.php529 $logoPath = WikiPath::createComboResource("images:logo.svg");
H A DQualityTag.php15 * @param WikiPath $wikiPath
18 public static function createQualityReport(WikiPath $wikiPath): Message
120 $contextPath = WikiPath::createMarkupPathFromId($pageId);
H A DReference.php54 return WikiPath::MARKUP_DRIVE;
H A DSearchTag.php54 $id = WikiPath::createRequestedPagePathFromRequest()->getWikiId();
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 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 DSlotManagerMenuItem.php103 $requestedPath = WikiPath::getContextPath();
H A DSlug.php36 $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 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);

1234