Extension:AbuseFilter/Hooks/AbuseFilter-computeVariable/cs
Appearance
AbuseFilter-computeVariable | |
---|---|
Available from version 1.19.0 Jako AbuseFilter-interceptVariable , ale volĂĄ se, pokud poĹžadovanĂĄ metoda nebyla nalezena. |
|
Define function: | public static function onAbuseFilter_computeVariable( string $method, AbuseFilterVariableHolder $vars, array $parameters, &$result ) { ... }
|
Attach hook: | $wgHooks['AbuseFilter-computeVariable'][] = 'MyExtensionHooks::onAbuseFilter_computeVariable';
|
Called from: | File(s): AbuseFilter / includes/AFComputedVariable.php Function(s): compute |
For more information about attaching hooks, see PĹĂruÄka:HĂĄÄky .
For examples of other extensions using this hook, see Category:AbuseFilter-computeVariable extensions/cs.
VrĂĄtĂ true
, oznaÄujĂcĂ, Ĺže metoda je hĂĄÄku znĂĄmĂĄ a byla vypoÄĂtĂĄna ĂşspÄĹĄnÄ.
Parametry
[edit]$method
: Metoda generovĂĄnĂ promÄnnĂŠ$vars
: AbuseFilterVariableHolder$parameters
: Parametry s daty pro vĂ˝poÄet hodnoty&$result
: VĂ˝sledek vĂ˝poÄtu