Function Forum_driver_mybb->_is_staff
Definitions
sources/forum/mybb.php
- Find if the specified member ID is marked as staff or not.
- Visibility: protected
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: bool
Parameters
Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
---|---|---|---|---|---|---|---|
$member_id | MEMBER | No | No | required parameter | N/A | N/A | The member ID |
Returns
- Whether the member is staff
- Type: boolean
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Find if the specified member ID is marked as staff or not.
*
* @param MEMBER $member_id The member ID
* @return boolean Whether the member is staff
*/
protected function _is_staff(int $member_id) : bool
* Find if the specified member ID is marked as staff or not.
*
* @param MEMBER $member_id The member ID
* @return boolean Whether the member is staff
*/
protected function _is_staff(int $member_id) : bool