function showCalendar($slug, DateTime $date = null) { CalendarPlugin::showCalendar($slug, $date); } /** * Alias of CalendarPlugin::showEvent() * @deprecated */ function showEvent(CalendarEvent $event, $show_author = true) { CalendarPlugin::showEvent($event, $show_author); } /** * Alias of CalendarPlugin::showEvents() * @deprecated */ function showEvents(array $events) { CalendarPlugin::showEvent($events); } /** * Alias of CalendarPlugin::validateDateString() * @deprecated */ function validateDateString($date_str, $format) { return CalendarPlugin::validateDateString($date_str, $format); } /*******************************************************************************/ CalendarPlugin::register();