Function __global->parse_allow_list_input

Definitions

sources/chat.php

  • Takes a comma-separated list of usernames, split it up, convert all the usernames to IDs, and put it all back together again.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: string

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$_allow string No No required parameter N/A N/A A comma-separated list of usernames

Returns

  • A comma-separated list of member IDs
  • Type: string
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Takes a comma-separated list of usernames, split it up, convert all the usernames to IDs, and put it all back together again.
 *
 * @param  string $_allow A comma-separated list of usernames
 * @return string A comma-separated list of member IDs
 */

function parse_allow_list_input(string $_allow) : string