Function __global->is_guest

Definitions

sources/minikernel.php

  • Find whether the current member is a guest.(Always true in minikernel).
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: bool

Parameters

Name Type Default Set Range Description
$member_id ?MEMBER Null N/A N/A Member ID to check (null: current user)

Return

  • Whether the current member is a guest
  • Type: boolean
  • Set: N/A
  • Range: N/A

sources/users.php

  • Find whether the current member is a guest.
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: bool

Parameters

Name Type Default Set Range Description
$member_id ?MEMBER Null N/A N/A Member ID to check (null: current user)
$quick_only boolean False N/A N/A Whether to just do a quick check, don't establish new sessions

Return

  • Whether the current member is a guest
  • Type: boolean
  • Set: N/A
  • Range: N/A