/plugin/combo/ComboStrap/ |
H A D | DokuPath.php | 20 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 D | DokuFs.php | 38 * @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 D | Slug.php | 4 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 D | JavascriptLibrary.php | 23 $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 D | Path.php | 62 * @return DokuPath 65 function toDokuPath(): DokuPath;
|
H A D | MetadataWikiPath.php | 31 $value = DokuPath::toValidAbsolutePath($value); 41 $value = DokuPath::toValidAbsolutePath($value);
|
H A D | LocalPath.php | 135 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 D | PathAbs.php | 74 function toDokuPath(): DokuPath 76 if($this instanceof DokuPath){
|
H A D | Icon.php | 192 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 D | Page.php | 200 $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 D | PageImagePath.php | 59 DokuPath::addRootSeparatorIfNotPresent($value);
|
H A D | Index.php | 71 $page = DokuPath::createPagePathFromId($pageId);
|
H A D | Alias.php | 37 DokuPath::addRootSeparatorIfNotPresent($path);
|
H A D | PageImage.php | 42 $dokuPath = DokuPath::createMediaPathFromId($image);
|
H A D | Canonical.php | 102 DokuPath::addRootSeparatorIfNotPresent($calculatedCanonical);
|
H A D | Url.php | 47 …public static function encodeToUrlPath($string, string $separator = DokuPath::PATH_SEPARATOR): str…
|
/plugin/combo/action/ |
H A D | staticresource.php | 4 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 D | canonical.php | 4 use ComboStrap\DokuPath; alias 62 … $pageViewCanonical = str_replace(DokuPath::PATH_SEPARATOR, "/", $page->getCanonical());
|
H A D | imgmove.php | 3 use ComboStrap\DokuPath; alias 148 if (!($path instanceof DokuPath)) { 191 $relativeOrAbsoluteWikiId = DokuPath::IdToAbsolutePath($newId);
|
H A D | pageprotection.php | 5 use ComboStrap\DokuPath; alias 136 $dokuPath = DokuPath::createFromUnknownRoot($id); 173 $dokuPath = DokuPath::createFromUrl($url);
|
H A D | svg.php | 10 use ComboStrap\DokuPath; alias 116 $dokuPath = DokuPath::createMediaPathFromId($id,$rev);
|
H A D | metafacebook.php | 5 use ComboStrap\DokuPath; alias 133 DokuPath::addRootSeparatorIfNotPresent($defaultFacebookImage);
|
/plugin/combo/syntax/ |
H A D | pageimage.php | 6 use ComboStrap\DokuPath; alias 139 DokuPath::addRootSeparatorIfNotPresent($path); 197 $defaultId = DokuPath::toDokuwikiId($default);
|
H A D | pageexplorer.php | 8 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 D | icon.php | 10 use ComboStrap\DokuPath; alias 293 if ($mediaPath instanceof DokuPath && FileSystems::exists($mediaPath)) {
|