Function __global->log_it
Definitions
sources/global3.php
- Log an action.
- Is abstract?: No
- Is static?: No
- Is final?: No
- Return: int
Parameters
Name | Type | Default | Set | Range | Description |
---|---|---|---|---|---|
$type | ID_TEXT | required parameter | N/A | N/A | The type of activity just carried out (a language string codename) |
$a | ?SHORT_TEXT | Null | N/A | N/A | The most important parameter of the activity (e.g. D) (null: none) |
$b | ?SHORT_TEXT | Null | N/A | N/A | A secondary (perhaps, human readable) parameter of the activity (e.g. caption) (null: none) |
$return_id | boolean | False | N/A | N/A | Whether to return an ID to the log entry (forces immediate logging, rather than at script end) |
Return
- Log ID (null: did not save a log)
- Type: ?AUTO_LINK
- Set: N/A
- Range: N/A