/** * @return DownloadRenderer */ public function getInstance() { if (!self::$instance) { self::$instance = new self(); } return self::$instance; }
$cronHandler->run(); } } else { echo "Ongeldige key: " . $_GET['retrieve']; exit; } } $oFrontRenderer->redirect(); break; case 'beheer': $subSubject = $nefubId; $oAdminRenderer = new AdminRenderer($arguments); $oAdminRenderer->run(); break; case 'download': $oDownloadRenderer = DownloadRenderer::getInstance(); $oDownloadRenderer->run(); break; case 'poule': case 'poules': $oFrontRenderer->showPoule($nefubId); break; case 'competitie': case 'competitie': case 'competition': case 'competitions': $oFrontRenderer->showCompetition($nefubId); break; case 'team': case 'teams': $oFrontRenderer->showTeam($nefubId);