Back to index

plone3  3.1.7
getNextMonth.py
Go to the documentation of this file.
00001 ## Script (Python) "getNextMonth"
00002 ##bind container=container
00003 ##bind context=context
00004 ##bind namespace=
00005 ##bind script=script
00006 ##bind subpath=traverse_subpath
00007 ##parameters=month, year
00008 ##title=Calendar Presentation Helper
00009 ##
00010 context.plone_log("The getNextMonth script is deprecated and will be "
00011                   "removed in Plone 4.0. Use the getNextMonth method "
00012                   "of the @@calendar_view view instead.")
00013 
00014 return context.restrictedTraverse('@@calendar_view').getNextMonth(month, year)