Beispiel #1
0
 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));
 }
Beispiel #2
0
 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);
 }
Beispiel #3
0
 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));
 }