Function Forum_driver_base->get_username

Definitions

sources/forum_stub.php

  • Get a member's username.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Return: string

Parameters

Name Type Default Set Range Description
$id MEMBER required parameter N/A N/A The member
$use_displayname boolean False N/A N/A Whether to use the displayname rather than the username (if we have them)
$options integer 2 N/A N/A A bitmask of USERNAME_* options to define how to handle missing members

Return

  • The username (null: deleted/missing member)
  • Type: ?SHORT_TEXT
  • Set: N/A
  • Range: N/A