Function Forum_driver_cns->_is_super_admin

Definitions

sources/forum/cns.php

  • Find if the specified member ID is marked as a super admin 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 a super admin
  • Type: boolean
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Find if the specified member ID is marked as a super admin or not.
 *
 * @param  MEMBER $member_id The member ID
 * @return boolean Whether the member is a super admin
 */

protected function _is_super_admin(int $member_id) : bool