heyrocker / IfpaApi

A PHP wrapper class to simplify access the IFPA API
The Unlicense
5 stars 1 forks source link

Split getCalendarEvents() into two functions #2

Open heyrocker opened 10 years ago

heyrocker commented 10 years ago

getCalendarEvents() currently takes a parameter to specify whether it should return active or historical events. I'd rather do it like I did the player results, where there are two separate functions and if need be a helper in the middle for common formatting stuff between them.