plone.app.event.portlets.portlet_calendar

class plone.app.event.portlets.portlet_calendar.Assignment(state=None, search_base_uid=None)[source]

Base class for assignments.

Your type may override the ‘title’, ‘available’ and ‘data’ properties, and may

class plone.app.event.portlets.portlet_calendar.Renderer(context, request, view, manager, data)[source]

Base class for portlet renderers.

You must override render() to return a string to render. One way of doing this is to write:

from Products.Five.browser.pagetemplatefile import ViewPageTemplateFile ... render = ViewPageTemplateFile(‘mytemplate.pt’)

This will render the template mytemplate.pt, found in the same directory as your source code file.

cal_data[source]

Calendar iterator over weeks and days of the month to display.

year_month_display()[source]

Return the year and month to display in the calendar.