Ejemplo n.º 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));
 }
Ejemplo n.º 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);
 }
Ejemplo n.º 3
0
 public function show(Application $app, Request $request)
 {
     $gridTitle = 'Persons title';
     return $app->render('person.html.php', null);
 }
Ejemplo n.º 4
0
 public function show(Application $app, Request $request)
 {
     $name = 'This page is not implemented. Yet.';
     return $app->render('notimplemented.html.php', array('name' => $name));
 }