Legend of the Green Dragon

Motd

Trait to message of the day.

Table of Contents

display()  : string
Display MoTD item or poll.
messageOfTheDay()  : string
Get message of the day link.

Methods

display()

Display MoTD item or poll.

public display(Environment $env, array<string|int, mixed> $motd[, array<string|int, mixed> $params = [] ]) : string
Parameters
$env : Environment
$motd : array<string|int, mixed>
$params : array<string|int, mixed> = []

Extra params

Return values
string

messageOfTheDay()

Get message of the day link.

public messageOfTheDay(Environment $env) : string
Parameters
$env : Environment
Return values
string

Search results