function getApprLessByIdMonth($idUser, $month) { $lesson = new lesson(); $data['lesson'] = $lesson->getApprLessByIdMonth($idUser, $month); echo json_encode($data); }
function getApprLessByIdMonth($idUser, $month) { $lesson = new lesson(); $data['lesson'] = $lesson->getApprLessByIdMonth($idUser, $month); echo json_encode($data); }