Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
resolve (string $path, int $flags=null) | |
Champs de données | |
const | RESOLVE_REALPATH = 1 |
const | RESOLVE_ALIAS = 2 |
const | ASSERT_INTERNAL_INVOCATION = 32 |
Fonctions membres privées | |
retrieveInvocation (string $baseName, int $flags) | |
resolveBaseName (string $path, int $flags) | |
resolvePossibleAlias (string $path) | |
findByBaseName (string $baseName) | |
findInBaseNames (string $path) | |
addBaseName (string $baseName) | |
findByAlias (string $path) | |
Attributs privés | |
$invocationFunctionNames | |
$baseNames = [] | |
|
private |
string | $baseName |
Références Helper\normalizeWindowsPath().
Référencé par PharInvocationResolver\resolveBaseName().
|
private |
Finds confirmed(!) invocations by alias.
string | $path |
Références PharInvocation\getAlias(), Manager\instance(), PharInvocation\isConfirmed(), null, PharInvocationResolver\resolvePossibleAlias(), et true.
Référencé par PharInvocationResolver\resolve().
|
private |
string | $baseName |
Références PharInvocation\getBaseName(), Manager\instance(), et true.
Référencé par PharInvocationResolver\retrieveInvocation().
|
private |
string | $path |
Références $parts, $path, Helper\normalizePath(), et null.
Référencé par PharInvocationResolver\resolveBaseName().
resolve | ( | string | $path, |
int | $flags = null |
||
) |
Resolves PharInvocation value object (baseName and optional alias).
Phar aliases are intended to be used only inside Phar archives, however PharStreamWrapper needs this information exposed outside of Phar as well It is possible that same alias is used for different $baseName values. That's why PharInvocationCollection behaves like a stack when resolving base-name for a given alias. On the other hand it is not possible that one $baseName is referring to multiple aliases.
string | $path | |
int | null | $flags |
Implémente Resolvable.
Références $path, PharInvocationResolver\findByAlias(), Helper\hasPharPrefix(), null, PharInvocationResolver\resolveBaseName(), et PharInvocationResolver\retrieveInvocation().
|
private |
string | $path | |
int | $flags |
Références $item, $path, PharInvocationResolver\addBaseName(), Helper\determineBaseFile(), PharInvocationResolver\findInBaseNames(), Helper\hasPharPrefix(), null, et PharInvocationResolver\resolvePossibleAlias().
Référencé par PharInvocationResolver\resolve().
|
private |
string | $path |
Références $path, Helper\normalizePath(), et null.
Référencé par PharInvocationResolver\findByAlias(), et PharInvocationResolver\resolveBaseName().
|
private |
Retrieves PharInvocation, either existing in collection or created on demand with resolving a potential alias name used in the according Phar archive.
string | $baseName | |
int | $flags |
Références PharInvocationResolver\findByBaseName(), Manager\instance(), et null.
Référencé par PharInvocationResolver\resolve().
|
private |
|
private |
const ASSERT_INTERNAL_INVOCATION = 32 |
const RESOLVE_ALIAS = 2 |
const RESOLVE_REALPATH = 1 |