public function render($isLoggedIn, $v, DateTimeView $dtv, RegisterView $rv, SchemeView $sv, BookView $bv, NotificationView $nv, ApplyView $av, ShowApplicationView $sav, ApplyDAL $aDAL) { $html = '<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Login Example</title> </head> <body> <h1>Tacoday!</h1> ' . $this->renderIsLoggedIn($isLoggedIn) . ' <div class="container">' . $this->renderView($v, $rv, $sv, $bv, $nv, $av, $sav, $aDAL) . $dtv->Show() . ' </div> </body> </html> '; echo $html; }
public function render($isLoggedIn, $v, DateTimeView $dtv, RegisterView $rv) { $html = '<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Login Example</title> </head> <body> <h1>Assignment 2</h1> ' . $this->renderIsLoggedIn($isLoggedIn) . ' <div class="container">' . $this->decideView($v, $rv) . $dtv->Show() . ' </div> </body> </html> '; echo $html; }