Report #= $report->getId() ?>
Chat Log
getMessages();
foreach($messages as $message):
$typeId = $message->getType();
$typeDisplayName = Message::$TYPE_DISPLAY_NAMES[$typeId];
$isPM = $typeId == Message::TYPE_PM;
// If this is a PM, then the "-> " suffix will be applied.
$involved = $message->getSender()->getUsername() . ($isPM ? " -> " . $message->getRecipients()[0]->getUsername() : "");
?>
" style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;">= $typeDisplayName ?>
= $involved; ?>: = $message->getMessage(); ?>
Information
getTimeGenerated();
$reporters = array();
foreach ($report->getReporters() as $reporter)
{
$reporters[count($reporters)] = $reporter->getUsername();
}
$reportersString = implode(", ", $reporters);
?>
= $dateTime->format('n/j/y') ?>
= $dateTime->format('g:i A') ?>
Reported by = $reportersString ?>
Suspect is = $report->getSuspect()->getUsername() ?>
getHandler();
echo $handler != null ? "Staff Member assigned is " . $handler->getUsername() : "No Staff Member assigned";
?>
Users
getPlayers() as $player): ?>
= $player->getUsername() ?> TODO
= $player->getUUID() ?>