ez_calendar v0.1.4 EZCalendar.HTML

Summary

Functions

HTML helper to render a calendar struct. Takes a HTML calendar module, a calendar struct and a function as arguments

Calls calendar/3 with the EZCalendar.HTML.DayCalendar module

Calls calendar/3 with the EZCalendar.HTML.MonthCalendar module

Calls calendar/3 with the EZCalendar.HTML.WeekCalendar module

Functions

calendar(type, struct, func)

HTML helper to render a calendar struct. Takes a HTML calendar module, a calendar struct and a function as arguments.

The function that will be called with each of the calendars dates to render its contents

day_calendar(struct, func)

Calls calendar/3 with the EZCalendar.HTML.DayCalendar module

month_calendar(struct, func)

Calls calendar/3 with the EZCalendar.HTML.MonthCalendar module

week_calendar(struct, func)

Calls calendar/3 with the EZCalendar.HTML.WeekCalendar module