"id siswaa", "tanggallahir" => "tanggal lahir", "jk" => "jenis kelamin", "hp" => "handphone", "growcomunity" => "grow comunity" ]; $response = null; if(isset($arg[0])){ $key = $arg[0]; if(isset($aliase[$key])){ $response = ucwords($aliase[$key]); }else{ $response = ucwords($key); } } return $response; } function cekValue(...$arg){ if(isset($arg[0]) && isset($arg[1])){ $key = $arg[0]; $val = $arg[1]; if($key == 'tanggallahir'){ $tgl = new \NN\Tanggal($val); $val = $tgl->id(); } return $val; } } $dataLoad = (array) $data; unset($dataLoad['id']); unset($dataLoad['update']); unset($dataLoad['nama']); unset($dataLoad['panggilan']); unset($dataLoad['alamat']); ?> $val) : ?>
: