Home
last modified time | relevance | path

Searched refs:DokuPath (Results 1 – 25 of 43) sorted by relevance

12

/plugin/combo/ComboStrap/
H A DDokuPath.php20 class DokuPath extends PathAbs class
242 * @return DokuPath
246 return new DokuPath($absolutePath, DokuPath::PAGE_DRIVE);
251 return new DokuPath($absolutePath, DokuPath::MEDIA_DRIVE, $rev);
262 * @return DokuPath
266 return new DokuPath($id, DokuPath::UNKNOWN_DRIVE);
320 return DokuPath::PATH_SEPARATOR . $id;
346 return new DokuPath(DokuPath::PATH_SEPARATOR . $id, self::PAGE_DRIVE);
397 return new DokuPath($path, $drive, $rev);
681 * @return DokuPath|null
[all …]
H A DDokuFs.php38 * @param DokuPath $path
47 * @param DokuPath $path
55 * @param DokuPath $path
63 * @param DokuPath $path
72 * @param DokuPath $path
80 * @param DokuPath $path
88 * @param DokuPath $dirPath
H A DSlug.php4 use ComboStrap\DokuPath; alias
39 …$excludedCharacters = array_merge(DokuPath::getReservedWords(), StringUtility::SEPARATORS_CHARACTE…
40 $excludedCharacters[] = DokuPath::SLUG_SEPARATOR;
41 $parts = explode(DokuPath::PATH_SEPARATOR, $string);
48 return strtolower(implode(DokuPath::SLUG_SEPARATOR, $wordsPart));
51 $slug = implode(DokuPath::PATH_SEPARATOR, $parts);
56 DokuPath::addRootSeparatorIfNotPresent($slug);
H A DJavascriptLibrary.php23 $resource = DokuPath::createComboResource($dokuwikiId);
44 if (!($path instanceof DokuPath)) {
53 * @var DokuPath $path
55 if ($path->getLibrary() !== DokuPath::COMBO_DRIVE) {
62 $att[DokuPath::DRIVE_ATTRIBUTE] = $path->getLibrary();
H A DPath.php62 * @return DokuPath
65 function toDokuPath(): DokuPath;
H A DMetadataWikiPath.php31 $value = DokuPath::toValidAbsolutePath($value);
41 $value = DokuPath::toValidAbsolutePath($value);
H A DLocalPath.php135 public function toDokuPath(): DokuPath
137 $driveRoots = DokuPath::getDriveRoots();
141 return DokuPath::createDokuPath($relativePath->toString(), $driveRoot);
173 …$relativePath = str_replace(self::PHP_SYSTEM_DIRECTORY_SEPARATOR, DokuPath::PATH_SEPARATOR, $relat…
H A DPathAbs.php74 function toDokuPath(): DokuPath
76 if($this instanceof DokuPath){
H A DIcon.php192 const COMBO = DokuPath::COMBO_DRIVE;
236 $mediaDokuPath = DokuPath::createFromUnknownRoot($fullQualifiedName);
265 $mediaDokuPath = DokuPath::createComboResource("$iconName.svg");
271 if (substr($iconNameSpace, 0, 1) != DokuPath::PATH_SEPARATOR) {
272 $iconNameSpace = DokuPath::PATH_SEPARATOR . $iconNameSpace;
274 if (substr($iconNameSpace, -1) != DokuPath::PATH_SEPARATOR) {
279 $mediaDokuPath = DokuPath::createMediaPathFromAbsolutePath($mediaPathId);
475 if (!($mediaDokuPath instanceof DokuPath)) {
H A DPage.php200 $this->dokuPath = DokuPath::createPagePathFromPath($absolutePath);
218 $absolutePath = DokuPath::PATH_SEPARATOR . $id;
219 $this->dokuPath = DokuPath::createPagePathFromPath($absolutePath);
242 DokuPath::addRootSeparatorIfNotPresent($id);
862 …$startPage = Page::createPageFromId($namespace->getDokuwikiId() . DokuPath::PATH_SEPARATOR . $star…
935 $pageUrlId = DokuPath::toDokuwikiId(PageUrlPath::createForPage($this)
1440 $parentNamespaceId = implode(DokuPath::PATH_SEPARATOR, $parentNames);
1686 return DokuPath::toDokuwikiId($this->getUrlPath());
1921 * @return DokuPath
1949 return DokuPath::PATH_SEPARATOR . $this->getDokuwikiId();
H A DPageImagePath.php59 DokuPath::addRootSeparatorIfNotPresent($value);
H A DIndex.php71 $page = DokuPath::createPagePathFromId($pageId);
H A DAlias.php37 DokuPath::addRootSeparatorIfNotPresent($path);
H A DPageImage.php42 $dokuPath = DokuPath::createMediaPathFromId($image);
H A DCanonical.php102 DokuPath::addRootSeparatorIfNotPresent($calculatedCanonical);
H A DUrl.php47 …public static function encodeToUrlPath($string, string $separator = DokuPath::PATH_SEPARATOR): str…
/plugin/combo/action/
H A Dstaticresource.php4 use ComboStrap\DokuPath; alias
68 if (!isset($_GET[DokuPath::DRIVE_ATTRIBUTE])) {
71 $drive = $_GET[DokuPath::DRIVE_ATTRIBUTE];
72 if (!in_array($drive, DokuPath::DRIVES)) {
79 $mediaPath = DokuPath::createDokuPath($mediaId, $drive);
86 if ($drive === DokuPath::CACHE_DRIVE) {
124 $drive = $_GET[DokuPath::DRIVE_ATTRIBUTE];
H A Dcanonical.php4 use ComboStrap\DokuPath; alias
62 … $pageViewCanonical = str_replace(DokuPath::PATH_SEPARATOR, "/", $page->getCanonical());
H A Dimgmove.php3 use ComboStrap\DokuPath; alias
148 if (!($path instanceof DokuPath)) {
191 $relativeOrAbsoluteWikiId = DokuPath::IdToAbsolutePath($newId);
H A Dpageprotection.php5 use ComboStrap\DokuPath; alias
136 $dokuPath = DokuPath::createFromUnknownRoot($id);
173 $dokuPath = DokuPath::createFromUrl($url);
H A Dsvg.php10 use ComboStrap\DokuPath; alias
116 $dokuPath = DokuPath::createMediaPathFromId($id,$rev);
H A Dmetafacebook.php5 use ComboStrap\DokuPath; alias
133 DokuPath::addRootSeparatorIfNotPresent($defaultFacebookImage);
/plugin/combo/syntax/
H A Dpageimage.php6 use ComboStrap\DokuPath; alias
139 DokuPath::addRootSeparatorIfNotPresent($path);
197 $defaultId = DokuPath::toDokuwikiId($default);
H A Dpageexplorer.php8 use ComboStrap\DokuPath; alias
108 $sepPosition = strrpos($namespacePath, DokuPath::PATH_SEPARATOR);
588 … $pageOrNamespacePath = DokuPath::IdToAbsolutePath($pageOrNamespace['id']);
691 $namespaceId = DokuPath::toDokuwikiId($namespacePath);
755 $actualPageOrNamespacePath = DokuPath::IdToAbsolutePath($actualNamespaceId);
824 $childDirectoryPath = DokuPath::IdToAbsolutePath($childDirectoryId);
H A Dicon.php10 use ComboStrap\DokuPath; alias
293 if ($mediaPath instanceof DokuPath && FileSystems::exists($mediaPath)) {

12