1.1 --- a/macros/EventAggregator.py Fri Jan 21 00:51:35 2011 +0100
1.2 +++ b/macros/EventAggregator.py Sat Jan 29 23:06:00 2011 +0100
1.3 @@ -150,6 +150,12 @@
1.4 return EventAggregatorSupport.getFullMonthLabel(request, year_month)
1.5
1.6 def writeDownloadControls(self):
1.7 +
1.8 + """
1.9 + Return a representation of the download controls, featuring links for
1.10 + view, calendar and customised downloads and subscriptions.
1.11 + """
1.12 +
1.13 page = self.page
1.14 request = page.request
1.15 fmt = page.formatter
1.16 @@ -274,6 +280,12 @@
1.17 return "".join(output)
1.18
1.19 def writeViewControls(self):
1.20 +
1.21 + """
1.22 + Return a representation of the view mode controls, permitting viewing of
1.23 + aggregated events in calendar, list or table form.
1.24 + """
1.25 +
1.26 page = self.page
1.27 request = page.request
1.28 fmt = page.formatter
1.29 @@ -308,6 +320,12 @@
1.30 return "".join(output)
1.31
1.32 def writeMonthHeading(self, year_month):
1.33 +
1.34 + """
1.35 + Return the calendar heading for the given 'year_month' (a Month object)
1.36 + providing links permitting navigation to other months.
1.37 + """
1.38 +
1.39 page = self.page
1.40 request = page.request
1.41 fmt = page.formatter
1.42 @@ -369,6 +387,12 @@
1.43 return "".join(output)
1.44
1.45 def writeDayNumberLinked(self, date):
1.46 +
1.47 + """
1.48 + Return a link for the given 'date' which will activate the new event
1.49 + action for the given day.
1.50 + """
1.51 +
1.52 page = self.page
1.53 request = page.request
1.54 fmt = page.formatter