Documentation

Name
in package

FinalYes

Legacy random-name generator backed by the historical remote name service.

Included for historical compatibility only. The Game API is out of support and should not be used in new code.

Tags
author

Daniel Schulz

since
2017-12-28

Table of Contents

Constants

GENERATE_CONFIG_ALLITERATION  : mixed = 'allit'
GENERATE_CONFIG_COUNT  : mixed = 'numberof'
GENERATE_CONFIG_FIRSTNAMEONLY  : mixed = 'fnameonly'
GENERATE_URI  : mixed = 'http://listofrandomnames.com/index.cfm'

Properties

$generateConfig  : mixed

Methods

generate()  : array<string|int, mixed>

Constants

GENERATE_CONFIG_ALLITERATION

public mixed GENERATE_CONFIG_ALLITERATION = 'allit'

GENERATE_CONFIG_COUNT

public mixed GENERATE_CONFIG_COUNT = 'numberof'

GENERATE_CONFIG_FIRSTNAMEONLY

public mixed GENERATE_CONFIG_FIRSTNAMEONLY = 'fnameonly'

GENERATE_URI

public mixed GENERATE_URI = 'http://listofrandomnames.com/index.cfm'

Properties

$generateConfig

protected static mixed $generateConfig = ['generated' => '', 'action' => 'main.generate', 'nameType' => 'na', 'allit' => 1, 'fnameonly' => 1, 'numberof' => 1]

Methods

generate()

public static generate([array<string|int, mixed> $config = [] ]) : array<string|int, mixed>
Parameters
$config : array<string|int, mixed> = []
Return values
array<string|int, mixed>
On this page

Search results