|
Stud.IP
6.1
|
Public Member Functions | |
| isCalendarReadable (?string $user_id=null) | |
| isCalendarWritable (?string $user_id=null) | |
Static Public Member Functions | |
| static | getCalendarOwner (string $owner_id) |
The Studip interface defines methods that classes whose instances own calendars shall implement to faciliate permission checks for that calendars.
|
static |
| isCalendarReadable | ( | ?string | $user_id = null | ) |
Determines whether the specified user has read permissions to the calendar.
| string | null | $user_id | The ID of the user for which to determine write permissions. Defaults to the current user if no user-ID is provided. |
| isCalendarWritable | ( | ?string | $user_id = null | ) |
Determines whether the specified user has write permissions to the calendar.
| string | null | $user_id | The ID of the user for which to determine write permissions. Defaults to the current user if no user-ID is provided. |