Function __global->blocking_add
Definitions
sources/chat2.php
- Block a member.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $blocker | MEMBER | No | No | required parameter | N/A | N/A | The member blocking |
| $blocked | MEMBER | No | No | required parameter | N/A | N/A | The member being blocked |
| $time | ?TIME | No | No | Null | N/A | N/A | The logged time of the block (null: now) |
Preview
Code (PHP)
/**
* Block a member.
*
* @param MEMBER $blocker The member blocking
* @param MEMBER $blocked The member being blocked
* @param ?TIME $time The logged time of the block (null: now)
*/
function blocking_add(int $blocker, int $blocked, ?int $time = null)
* Block a member.
*
* @param MEMBER $blocker The member blocking
* @param MEMBER $blocked The member being blocked
* @param ?TIME $time The logged time of the block (null: now)
*/
function blocking_add(int $blocker, int $blocked, ?int $time = null)

