Home
last modified time | relevance | path

Searched refs:namespacePath (Results 1 – 3 of 3) sorted by relevance

/plugin/combo/ComboStrap/
H A DFsWikiUtility.php95 public static function getHomePagePath($namespacePath): ?string argument
97 $homePage = Page::getHomePageFromNamespace($namespacePath);
131 public static function getParentPagePath($namespacePath): ?Page argument
137 if ($namespacePath === ":") {
145 $pos = strrpos($namespacePath, ':');
150 $parentNamespacePath = substr($namespacePath, 0, $pos);
H A DPage.php282 public static function getHomePageFromNamespace(string $namespacePath): Page argument
286 if ($namespacePath != ":") {
287 $namespacePath = $namespacePath . ":";
291 if (page_exists($namespacePath . $startPageName)) {
293 return self::createPageFromId($namespacePath . $startPageName);
294 } elseif (page_exists($namespacePath . noNS(cleanID($namespacePath)))) {
296 return self::createPageFromId($namespacePath . noNS(cleanID($namespacePath)));
297 } elseif (page_exists($namespacePath)) {
299 return self::createPageFromId(substr($namespacePath, 0, -1));
302 return self::createPageFromId($namespacePath . $startPageName);
/plugin/combo/syntax/
H A Dpageexplorer.php106 private static function toNamespaceName($namespacePath): string argument
108 $sepPosition = strrpos($namespacePath, DokuPath::PATH_SEPARATOR);
112 $namespaceName = $namespacePath;
396 if ($namespacePath === null) {
402 $namespacePath = $parent->toString();
404 $namespacePath = "";
412 $namespacePath = $parent->toString();
414 $namespacePath = "";
522 $parentPage = FsWikiUtility::getParentPagePath($namespacePath);
584 $pageOrNamespaces = FsWikiUtility::getChildren($namespacePath);
[all …]