Searched refs:namespacePath (Results 1 – 5 of 5) sorted by relevance
99 public static function getHomePagePath($namespacePath): ?string argument101 $homePage = MarkupPath::getIndexPageFromNamespace($namespacePath);135 public static function getParentPagePath($namespacePath): ?MarkupPath argument141 if ($namespacePath === ":") {149 $pos = strrpos($namespacePath, ':');154 $parentNamespacePath = substr($namespacePath, 0, $pos);
144 * @param WikiPath $namespacePath147 public static function toNamespaceName(WikiPath $namespacePath): string argument150 … return ucfirst(trim(str_replace("_", " ", $namespacePath->getLastNameWithoutExtension())));328 $namespacePath = WikiPath::createMarkupPathFromPath($namespaceAttribute);331 $namespacePath = $requestedContextPath->getParent();333 $namespacePath = WikiPath::createRootNamespacePathOnMarkupDrive();387 $currentIndexPage = MarkupPath::createPageFromPathObject($namespacePath);503 foreach (FileSystems::getChildrenContainer($namespacePath) as $subNamespacePath) {510 …LogUtility::msg("Bad syntax for the namespace $namespacePath. Error: {$e->getMessage()}", LogUtili…554 $childrenLeaf = FileSystems::getChildrenLeaf($namespacePath);[all …]
172 * @param Path $namespacePath175 public static function getChildrenContainer(Path $namespacePath): array argument177 return self::getChildren($namespacePath, FileSystems::CONTAINER);181 * @param Path $namespacePath184 public static function getChildrenLeaf(Path $namespacePath): array argument187 return self::getChildren($namespacePath, FileSystems::LEAF);
672 * @param string $namespacePath676 static function isNamespacePath(string $namespacePath): bool argument678 if (substr($namespacePath, -1) !== WikiPath::NAMESPACE_SEPARATOR_DOUBLE_POINT) {689 static function checkNamespacePath(string $namespacePath) argument691 if (!self::isNamespacePath($namespacePath)) {692 throw new ExceptionBadSyntax("The path ($namespacePath) is not a namespace path");
255 public static function getIndexPageFromNamespace(string $namespacePath): MarkupPath argument257 WikiPath::checkNamespacePath($namespacePath);259 return MarkupPath::createMarkupFromId($namespacePath);