-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adds user contexts to user userevents.
this is gnarly, but i can't think of a less invasive way to weave these data points in that doesn't involve substantial refactoring of the whole process.
- Loading branch information
1 parent
5b28ee6
commit e056dc9
Showing
4 changed files
with
190 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace App\Classes; | ||
|
||
/** | ||
* Constant interface, defines all the user contexts for calendar events. | ||
* @package App\Classes | ||
*/ | ||
interface CalendarEventUserContext | ||
{ | ||
public const LEARNER = 'learner'; | ||
|
||
public const INSTRUCTOR = 'instructor'; | ||
|
||
public const COURSE_DIRECTOR = 'course director'; | ||
|
||
public const COURSE_ADMINISTRATOR = 'course administrator'; | ||
|
||
public const SESSION_ADMINISTRATOR = 'session administrator'; | ||
} |
Oops, something went wrong.