function projetoPorStatus($status) { $agendaDAO = new AgendaDAO(); echo json_encode($agendaDAO->projetoPorStatus($status)); }