Function __global->_log_hack_attack_matches
Definitions
sources/failure.php
- Find if a hackattack specifier matches.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: bool
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$specifier | array | required parameter | N/A | N/A | The hackattack specifier |
$reason | ID_TEXT | required parameter | N/A | N/A | The reason for the hack-attack. This has to be a language string codename |
$reason_param_a | SHORT_TEXT | required parameter | N/A | N/A | A parameter for the hack-attack language string (this should be based on a unique ID, preferably) |
$reason_param_b | SHORT_TEXT | required parameter | N/A | N/A | A more illustrative parameter, which may be anything (e.g. a title) |
Return
- Whether it matches
- Type: boolean
- Set: N/A
- Range: N/A