Function __global->cns_may_perform_multi_moderation
Definitions
sources/cns_multi_moderations.php
- Whether a certain member may perform Multi Moderations in a certain forum.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: bool
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $forum_id | ?AUTO_LINK | No | No | required parameter | N/A | N/A | The forum (null: private topics) |
| $member_id | ?MEMBER | No | No | Null | N/A | N/A | The member (null: current member) |
Returns
- Answer
- Type: boolean
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Whether a certain member may perform Multi Moderations in a certain forum.
*
* @param ?AUTO_LINK $forum_id The forum (null: private topics)
* @param ?MEMBER $member_id The member (null: current member)
* @return boolean Answer
*/
function cns_may_perform_multi_moderation(?int $forum_id, ?int $member_id = null) : bool
* Whether a certain member may perform Multi Moderations in a certain forum.
*
* @param ?AUTO_LINK $forum_id The forum (null: private topics)
* @param ?MEMBER $member_id The member (null: current member)
* @return boolean Answer
*/
function cns_may_perform_multi_moderation(?int $forum_id, ?int $member_id = null) : bool
