Joomla CMS
4.2.2
Documentation des API du CMS Joomla en version 4.2.2
|
Fonctions membres publiques | |
has (PharInvocation $invocation) | |
collect (PharInvocation $invocation, int $flags=null) | |
findByCallback (callable $callback, $reverse=false) | |
Champs de données | |
const | UNIQUE_INVOCATION = 1 |
const | UNIQUE_BASE_NAME = 2 |
const | DUPLICATE_ALIAS_WARNING = 32 |
Fonctions membres privées | |
assertUniqueBaseName (PharInvocation $invocation, int $flags) | |
assertUniqueInvocation (PharInvocation $invocation, int $flags) | |
triggerDuplicateAliasWarning (PharInvocation $invocation) | |
getInvocations (bool $reverse=false) | |
Attributs privés | |
$invocations = [] | |
|
private |
Asserts that base-name is unique. This disallows having multiple invocations for same base-name but having different alias names.
PharInvocation | $invocation | |
int | $flags |
Références PharInvocationCollection\findByCallback(), PharInvocation\getBaseName(), et null.
Référencé par PharInvocationCollection\collect().
|
private |
Asserts that combination of base-name and alias is unique. This allows having multiple invocations for same base-name but having different alias names (for whatever reason).
PharInvocation | $invocation | |
int | $flags |
Références PharInvocation\equals(), PharInvocationCollection\findByCallback(), et null.
Référencé par PharInvocationCollection\collect().
collect | ( | PharInvocation | $invocation, |
int | $flags = null |
||
) |
PharInvocation | $invocation | |
null | int | $flags |
Implémente Collectable.
Références PharInvocationCollection\assertUniqueBaseName(), PharInvocationCollection\assertUniqueInvocation(), PharInvocation\getAlias(), PharInvocation\getBaseName(), null, et PharInvocationCollection\triggerDuplicateAliasWarning().
findByCallback | ( | callable | $callback, |
$reverse = false |
|||
) |
callable | $callback | |
bool | $reverse |
Implémente Collectable.
Références PharInvocationCollection\getInvocations(), et null.
Référencé par PharInvocationCollection\assertUniqueBaseName(), PharInvocationCollection\assertUniqueInvocation(), et PharInvocationCollection\triggerDuplicateAliasWarning().
|
private |
bool | $reverse |
Références PharInvocationCollection\$invocations.
Référencé par PharInvocationCollection\findByCallback().
has | ( | PharInvocation | $invocation | ) |
|
private |
Triggers warning for invocations with same alias and same confirmation state.
PharInvocation | $invocation |
Références PharInvocationCollection\findByCallback(), PharInvocation\getAlias(), PharInvocation\getBaseName(), PharInvocation\isConfirmed(), null, et true.
Référencé par PharInvocationCollection\collect().
|
private |
Référencé par PharInvocationCollection\getInvocations().
const DUPLICATE_ALIAS_WARNING = 32 |
const UNIQUE_BASE_NAME = 2 |
const UNIQUE_INVOCATION = 1 |