Example #1
0
 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);
 }
Example #2
0
 public static function countLKAData($year = null)
 {
     return count(FormKA3Helper::getLKAData($year));
 }