Searched refs:namespacePath (Results 1 – 3 of 3) sorted by relevance
95 public static function getHomePagePath($namespacePath): ?string argument97 $homePage = Page::getHomePageFromNamespace($namespacePath);131 public static function getParentPagePath($namespacePath): ?Page argument137 if ($namespacePath === ":") {145 $pos = strrpos($namespacePath, ':');150 $parentNamespacePath = substr($namespacePath, 0, $pos);
282 public static function getHomePageFromNamespace(string $namespacePath): Page argument286 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);
106 private static function toNamespaceName($namespacePath): string argument108 $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 …]