Home
last modified time | relevance | path

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

/plugin/combo/ComboStrap/
H A DFsWikiUtility.php95 * @param $namespacePath - in dokuwiki format
99 public static function getHomePagePath($namespacePath): ?string argument
101 $homePage = MarkupPath::getIndexPageFromNamespace($namespacePath);
132 * @param $namespacePath
135 public static function getParentPagePath($namespacePath): ?MarkupPath argument
141 if ($namespacePath === ":") {
149 $pos = strrpos($namespacePath, ':');
154 $parentNamespacePath = substr($namespacePath, 0, $pos);
H A DPageExplorerTag.php144 * @param WikiPath $namespacePath
147 public static function toNamespaceName(WikiPath $namespacePath): string argument
150 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()}", LogUtility::LVL_MSG_ERROR, PageExplorerTag::CANONICAL);
554 $childrenLeaf = FileSystems::getChildrenLeaf($namespacePath);
[all...]
H A DFileSystems.php172 * @param Path $namespacePath
175 public static function getChildrenContainer(Path $namespacePath): array argument
177 return self::getChildren($namespacePath, FileSystems::CONTAINER);
181 * @param Path $namespacePath
184 public static function getChildrenLeaf(Path $namespacePath): array argument
187 return self::getChildren($namespacePath, FileSystems::LEAF);
H A DWikiPath.php672 * @param string $namespacePath
676 static function isNamespacePath(string $namespacePath): bool argument
678 if (substr($namespacePath, -1) !== WikiPath::NAMESPACE_SEPARATOR_DOUBLE_POINT) {
689 static function checkNamespacePath(string $namespacePath) argument
691 if (!self::isNamespacePath($namespacePath)) {
692 throw new ExceptionBadSyntax("The path ($namespacePath) is not a namespace path");
H A DMarkupPath.php255 public static function getIndexPageFromNamespace(string $namespacePath): MarkupPath argument
257 WikiPath::checkNamespacePath($namespacePath);
259 return MarkupPath::createMarkupFromId($namespacePath);