Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques statiques | |
static | resetOpCache () |
static | determineBaseFile (string $path) |
static | hasPharPrefix (string $path) |
static | removePharPrefix (string $path) |
static | normalizePath (string $path) |
static | normalizeWindowsPath (string $path) |
Fonctions membres privées statiques | |
static | getCanonicalPath ($path) |
static | isAbsolutePath ($path) |
static | isWindows () |
Helper provides low-level tools on file name resolving. However it does not (and should not) maintain any runtime state information. In order to resolve Phar archive paths according resolvers have to be used.
|
static |
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".
string | $path |
Références $parts, $path, et null.
Référencé par PharInvocationResolver\resolveBaseName().
|
staticprivate |
|
static |
string | $path |
Références $path.
Référencé par PharInvocationResolver\resolve(), et PharInvocationResolver\resolveBaseName().
|
staticprivate |
|
staticprivate |
|
static |
Normalizes a path, removes phar:// prefix, fixes Windows directory separators. Result is without trailing slash.
string | $path |
Références $path.
Référencé par PharInvocationResolver\findInBaseNames(), et PharInvocationResolver\resolvePossibleAlias().
|
static |
Fixes a path for windows-backslashes and reduces double-slashes to single slashes
string | $path | File path to process |
Références $path.
Référencé par PharInvocationResolver\addBaseName().
|
static |
|
static |
Référencé par PharStreamWrapper\stream_open().