I want to display data in a CGridView from a table that is has a date field. I'd like to use year ranges, constructed from the date, as labels for paging, in a format like 2010-11,2011-12, 2012-13 etc., where the years run from say July 1 through June 30. So the pager might look something like: << < 2010-11|2011-12|2013-13|2013-14 > >>
I guess I will also need to pass different criteria to the paging for each clicked label as well.
I have looked at subclassing CPager and/or CLinkPager but they don't seem to offer custom labels for the paging.
Seems like an obvious thing to do but searching the web and the Yii forums did not turn up a similar example.
Any hints on how to proceed would be much appreciated.