private function getReport($id) { $player = Neuron_GameServer::getPlayer(); $report = Dolumar_Underworld_Mappers_BattleMapper::getFromId($id); if (!isset($report)) { return '<p>Report not found.</p>'; } return $report->getReport()->getReport(null, $this->getInput('log'), $this->getInput('fightlog') == '1', true); }