[ Index ] |
PHP Cross Reference of Joomla 4.2.2 documentation |
[Source view] [Print] [Project Stats]
(no description)
File Size: | 198 lines (6 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
Helper:: (9 methods):
resetOpCache()
determineBaseFile()
hasPharPrefix()
removePharPrefix()
normalizePath()
normalizeWindowsPath()
getCanonicalPath()
isAbsolutePath()
isWindows()
resetOpCache() X-Ref |
No description |
determineBaseFile(string $path) X-Ref |
Determines base file that can be accessed using the regular file system. For e.g. "phar:///home/user/bundle.phar/content.txt" that would result into "/home/user/bundle.phar". param: string $path return: string|null |
hasPharPrefix(string $path) X-Ref |
param: string $path return: bool |
removePharPrefix(string $path) X-Ref |
param: string $path return: string |
normalizePath(string $path) X-Ref |
Normalizes a path, removes phar:// prefix, fixes Windows directory separators. Result is without trailing slash. param: string $path return: string |
normalizeWindowsPath(string $path) X-Ref |
Fixes a path for windows-backslashes and reduces double-slashes to single slashes param: string $path File path to process return: string |
getCanonicalPath($path) X-Ref |
Resolves all dots, slashes and removes spaces after or before a path... param: string $path Input string return: string Canonical path, always without trailing slash |
isAbsolutePath($path) X-Ref |
Checks if the $path is absolute or relative (detecting either '/' or 'x:/' as first part of string) and returns TRUE if so. param: string $path File path to evaluate return: bool |
isWindows() X-Ref |
return: bool |
Generated: Wed Sep 7 05:41:13 2022 | Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer |