org.views.occurrence
The onegov org collection of images uploaded to the site.
Classes
Functions
|
|
|
|
|
View all occurrences of all events. |
|
View a single occurrence of an event. |
|
|
|
Returns the occurrence as ics. |
|
Returns the occurrences as ics. |
|
Export the occurrences in various formats. |
|
Returns the occurrences as JSON. |
|
Returns events as xml. |
|
Module Contents
- org.views.occurrence.get_filters(request: onegov.org.request.OrgRequest, self: onegov.event.OccurrenceCollection, keyword_counts: Mapping[str, Mapping[str, int]], view_name: str = '') list[Filter] [source]
- org.views.occurrence.keyword_count(request: onegov.org.request.OrgRequest, collection: onegov.event.OccurrenceCollection) dict[str, dict[str, int]] [source]
- org.views.occurrence.view_occurrences(self: onegov.event.OccurrenceCollection, request: onegov.org.request.OrgRequest, layout: onegov.org.layout.OccurrencesLayout | None = None) onegov.core.types.RenderData [source]
View all occurrences of all events.
- org.views.occurrence.view_occurrence(self: onegov.event.Occurrence, request: onegov.org.request.OrgRequest, layout: onegov.org.layout.OccurrenceLayout | None = None) onegov.core.types.RenderData [source]
View a single occurrence of an event.
- org.views.occurrence.handle_edit_event_filters(self: onegov.event.OccurrenceCollection, request: onegov.org.request.OrgRequest, form: onegov.org.forms.event.EventConfigurationForm, layout: onegov.org.layout.OccurrencesLayout | None = None) RenderData | BaseResponse [source]
- org.views.occurrence.ical_export_occurence(self: onegov.event.Occurrence, request: onegov.org.request.OrgRequest) morepath.request.Response [source]
Returns the occurrence as ics.
- org.views.occurrence.ical_export_occurences(self: onegov.event.OccurrenceCollection, request: onegov.org.request.OrgRequest) morepath.request.Response [source]
Returns the occurrences as ics.
- org.views.occurrence.export_occurrences(self: onegov.event.OccurrenceCollection, request: onegov.org.request.OrgRequest, form: onegov.org.forms.ExportForm, layout: onegov.org.layout.OccurrencesLayout | None = None) RenderData | BaseResponse [source]
Export the occurrences in various formats.
- org.views.occurrence.json_export_occurences(self: onegov.event.OccurrenceCollection, request: onegov.org.request.OrgRequest) onegov.core.types.JSON_ro [source]
Returns the occurrences as JSON.
This is used for the senantis.dir.eventsportlet.