Unofficial SMF API Documentation

./Sources/ManageCalendar.php

ManageCalendar

function ManageCalendar(): void

The main controlling function doesn’t have much to do… yet.

Just check permissions and delegate to the rest.

Uses ManageCalendar language file.

Integration hooks
integrate_manage_calendar

ModifyHolidays

function ModifyHolidays(): void

The function that handles adding, and deleting holiday data

EditHoliday

function EditHoliday(): void

This function is used for adding/editing a specific holiday

ModifyCalendarSettings

function ModifyCalendarSettings(bool $return_config = false): void|array

Show and allow to modify calendar settings. Obviously.

Type Parameter Description
bool $return_config Whether to return the $config_vars array (used for admin search)
Integration hooks
integrate_modify_calendar_settings
integrate_save_calendar_settings

Suggest an edit to this page on GitHub