function event_week_header in Event 5.2
Same name and namespace in other branches
- 5 event.module \event_week_header()
Formats the weekday information into table header format
Return value
array with weekday table header data
Related topics
2 calls to event_week_header()
- event_calendar_month in ./
event.module - Displays a monthly event calendar.
- event_calendar_week in ./
event.module - Displays a weekly event calendar.
File
- ./
event.module, line 1422
Code
function event_week_header() {
// create week header
$days = event_week_days();
foreach ($days as $day) {
$row[] = array(
'class' => strtolower($day['day']),
'data' => $day['t'],
);
}
return $row;
}