Back to index

plone3  3.1.7
getNextMonthLink.py
Go to the documentation of this file.
00001 ##parameters=base_url, month, year
00002 
00003 nextMonthTime = container.portal_calendar.getNextMonth(month, year)
00004 
00005 # Takes a base url and returns a link to the previous month
00006 x = '%s?month:int=%d&year:int=%d' % (
00007                                      base_url,
00008                                      nextMonthTime.month(),
00009                                      nextMonthTime.year()
00010                                      )
00011 
00012 return x