public function alimentosVencidosSinEntregar() { $detalle = new Detalle(); $alimentosVencidos = $detalle->obtenerVencidos(); print json_encode(array("data" => $alimentosVencidos)); }