Function __global->_handle_permission_check_logging
Definitions
sources/permissions2.php
- Log permission checks to the permission_checks.log file.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $member_id | MEMBER | No | No | required parameter | N/A | N/A | The user checking against |
| $op | ID_TEXT | No | No | required parameter | N/A | N/A | The function that was called to check a permission |
| $params | array | No | No | required parameter | N/A | N/A | Parameters to this permission-checking function |
| $result | boolean | No | No | required parameter | N/A | N/A | Whether the permission was held |
Preview
Code (PHP)
/**
* Log permission checks to the permission_checks.log file.
*
* @param MEMBER $member_id The user checking against
* @param ID_TEXT $op The function that was called to check a permission
* @param array $params Parameters to this permission-checking function
* @param boolean $result Whether the permission was held
*/
function _handle_permission_check_logging(int $member_id, string $op, array $params, bool $result)
* Log permission checks to the permission_checks.log file.
*
* @param MEMBER $member_id The user checking against
* @param ID_TEXT $op The function that was called to check a permission
* @param array $params Parameters to this permission-checking function
* @param boolean $result Whether the permission was held
*/
function _handle_permission_check_logging(int $member_id, string $op, array $params, bool $result)

