public function viewLKA()
 {
     $year = Input::get('year');
     if ($year == null) {
         $year == date('Y');
     }
     $data = ['title' => '', 'page_title' => 'Kasus Anak 3 (KA3)', 'panel_title' => 'Table View', 'location' => 'lka', 'table' => FormKA3Helper::getLKAData($year), 'selectedYear' => $year, 'countLKA' => FormKA3Helper::countLKAData($year)];
     return View::make('formka3.view', $data);
 }
Beispiel #2
0
 public static function countLKAData($year = null)
 {
     return count(FormKA3Helper::getLKAData($year));
 }