Function Forum_driver_ipb3->get_displayname

Definitions

sources/forum/ipb3.php

  • Get the display name of a username.If no display name generator is configured, this will be the same as the username.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: string

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$username ID_TEXT No No required parameter N/A N/A The username

Returns

  • The display name
  • Type: SHORT_TEXT
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Get the display name of a username.If no display name generator is configured, this will be the same as the username.
 *
 * @param  ID_TEXT $username The username
 * @return SHORT_TEXT The display name
 */

public function get_displayname(string $username) : string