Home
last modified time | relevance | path

Searched refs:LocalPath (Results 1 – 25 of 37) sorted by relevance

12

/plugin/combo/ComboStrap/
H A DDirectoryLayout.php14 public static function getPluginInfoPath(): LocalPath
19 public static function getConfLocalFilePath(): LocalPath
24 public static function getConfDirectory(): LocalPath{
25 return LocalPath::createFromPathString(DOKU_CONF);
28 public static function getComboHome(): LocalPath
30 return LocalPath::createFromPathString(DOKU_PLUGIN . PluginUtility::PLUGIN_BASE_NAME);
33 public static function getComboImagesDirectory(): LocalPath
38 public static function getComboResourcesDirectory(): LocalPath
43 public static function getComboDictionaryDirectory(): LocalPath
H A DFont.php30 * @return LocalPath
32 static public function getSystemFont(): LocalPath
37 return LocalPath::createFromPathString('/usr/share/fonts/liberation/LiberationSans-Regular.ttf');
42 * @return LocalPath - the font locale path
45 static public function getLiberationSansFontRegularPath(): LocalPath
50 static public function getLiberationSansFontBoldPath(): LocalPath
66 public static function getWindowsFontDirectory(): LocalPath
68 return LocalPath::createFromPathString('c:\windows\fonts');
H A DLocalPath.php9 * Class LocalPath
17 class LocalPath extends PathAbs class
36 public static function createFromUri($uri): LocalPath
41 return new LocalPath($uri);
49 public static function createFromPathObject(Path $path): LocalPath
51 if ($path instanceof LocalPath) {
64 public static function createDesktopDirectory(): LocalPath
66 return LocalPath::createHomeDirectory()->resolve("Desktop");
84 * LocalPath constructor.
92 * if we pass a {@link LocalPath}, n
[all...]
H A DLocalFileSystem.php61 * @param LocalPath $path
101 * @var LocalPath $path
126 * @param LocalPath $path
128 * @return LocalPath[]
142 if (in_array($fileName, [LocalPath::RELATIVE_CURRENT, LocalPath::RELATIVE_PARENT])) {
181 * @param LocalPath $path
210 * @param LocalPath $path
H A DSite.php293 public static function getOldDirectory(): LocalPath
303 return LocalPath::createFromPathString($oldDirConf);
557 public static function getPageDirectory(): LocalPath
567 return LocalPath::createFromPathString($pageDirectory);
591 * @return LocalPath
594 public static function getDataDirectory(): LocalPath
794 public static function getMediaDirectory(): LocalPath
801 return LocalPath::createFromPathString($mediaDirectory);
804 public static function getCacheDirectory(): LocalPath
811 return LocalPath
[all...]
H A DClassUtility.php13 * @return LocalPath
21 public static function getClassPath($objectOrClass): LocalPath
28 return LocalPath::createFromPathString($fileName);
H A DIFetcherPath.php18 * @return LocalPath
20 function getFetchPath(): LocalPath;
H A DFetcherCache.php94 public function getFile(): LocalPath
96 return LocalPath::createFromPathString($this->fileCache->cache);
102 $this->fileDependencies[] = LocalPath::createFromPathObject($path)->toAbsolutePath()->toAbsoluteId();
H A DPathAbs.php88 if ($this instanceof LocalPath) {
108 function toLocalPath(): LocalPath
110 if ($this instanceof LocalPath) {
119 throw new ExceptionCast("Unable to cast to LocalPath as this path is not a wiki path or a local path but a " . get_class($this));
H A DFetcherMarkup.php82 public LocalPath $metaPath;
521 function getDependenciesCachePath(): LocalPath
524 return LocalPath::createFromPathString($cachePath);
528 * @return LocalPath the fetch path - start the process and returns a path. If the cache is on, return the {@link FetcherMarkup::getContentCachePath()}
531 function processIfNeededAndGetFetchPath(): LocalPath
745 * @return LocalPath - the cache path is where the result is stored if the cache is on
750 public function getContentCachePath(): LocalPath
753 return LocalPath::createFromPathString($path);
1130 public function getInstructionsPath(): LocalPath
1133 return LocalPath
[all...]
H A DCacheResult.php42 public function getPath(): LocalPath
44 return LocalPath::createFromPathString($this->cacheParser->cache);
H A DIFetcher.php106 * @return LocalPath - the cache if any
109 public function getContentCachePath(): LocalPath;
H A DPath.php83 * (such as {@link LocalPath} or {@link WikiPath} path
103 * (such as {@link LocalPath} or {@link WikiPath} path
124 * Needed for the file protocol URI {@link LocalPath}
136 * @return LocalPath an utility function
139 function toLocalPath(): LocalPath;
H A DTemplateEngine.php26 * @var LocalPath[]
67 * @var LocalPath[] $templatesSearchDirectories
71 * @var LocalPath[] $partialSearchDirectories
276 * @return LocalPath[]
331 public function searchTemplateByName(string $name): LocalPath
H A DWikiPath.php23 * TODO: because all {@link LocalPath} has at minium a drive (ie C:,D:, E: for windows or \ for linux)
25 * The {@link LocalPath::toWikiPath()} should not throw then but as not all drive
606 if (!($path instanceof LocalPath)) {
644 * @return LocalPath[]
1006 self::$reservedWords = array_merge(Url::RESERVED_WORDS, LocalPath::RESERVED_WINDOWS_CHARACTERS);
1136 * @return LocalPath
1137 * TODO: change it for a constructor on LocalPath
1141 function toLocalPath(): LocalPath
1157 $localPath = LocalPath::createFromPathString($conf['mediadir']);
1160 $localPath = LocalPath
[all...]
H A DSiteConfig.php412 public function getMetaDataDirectory(): LocalPath
418 return LocalPath::createFromPathString($metadataDirectory);
485 public function getDataDirectory(): LocalPath
492 return LocalPath::createFromPathString($dataDirectory);
H A DFileSystems.php298 $sourceLocal = LocalPath::createFromPathObject($source);
299 $destinationLocal = LocalPath::createFromPathObject($destination);
353 return LocalPath::createFromUri($uri);
H A DDokuwikiId.php39 if($path instanceof LocalPath){
H A DFetcherVignette.php74 public function getFetchPath(): LocalPath
95 return LocalPath::createFromPathObject($cache->getFile());
369 if ($path instanceof LocalPath) {
H A DFetcherRawLocalPath.php76 function getFetchPath(): LocalPath
H A DIFetcherAbs.php216 public function getContentCachePath(): LocalPath
H A DFetcherScreenshot.php72 * @return LocalPath
79 function getFetchPath(): LocalPath
183 $screenShotPath = LocalPath::createDesktopDirectory()
/plugin/combo/action/
H A Dpagesystemmutation.php10 use ComboStrap\LocalPath; alias
94 $file = LocalPath::createFromPathString($filePath);
H A Dstaticresource.php13 use ComboStrap\LocalPath; alias
165 $mediaToSend = LocalPath::createFromPathString($physicalFile);
/plugin/combo/ComboStrap/Meta/Store/
H A DMetadataDokuWikiStore.php15 use ComboStrap\LocalPath; alias
356 return LocalPath::createFromPathString(metaFN($dokuwikiId, '.meta'));

12