set view getShownEvents

It seems like a common concept to get the events that are currently shown on the calendar for other uses.

Answer from:
http://stackoverflow.com/questions/9121425/fullcalendar-extract-displayed-events