public function show(Application $app) { $name = 'Dashboard'; // TWIG version //return $app->render('dashboard.html.twig', array('name'=>$name)); // PHP ONLY VERSION return $app->render('dashboard.html.php', array('title' => $name)); }
public function show(Request $request, Application $app) { if ($request->isMethod('POST')) { //$request-> } $data = ['title' => 'Workday', 'selectedDate' => $this->getSelectedDate()->format('d.m.Y')]; return $app->render('workday.html.php', $data); }
public function show(Application $app, Request $request) { $gridTitle = 'Persons title'; return $app->render('person.html.php', null); }
public function show(Application $app, Request $request) { $name = 'This page is not implemented. Yet.'; return $app->render('notimplemented.html.php', array('name' => $name)); }