diff options
| author | Jan-Hendrik Willms <tleilax+github@gmail.com> | 2021-07-22 16:07:19 +0200 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+github@gmail.com> | 2021-07-22 16:19:12 +0200 |
| commit | a3da1483a9e689846179159355badfec8073dbec (patch) | |
| tree | 770dcca6bdf5f6f2a11b0e7fcbbeda6919a3fc52 /lib/plugins/core/AdminCourseAction.class.php | |
current code from svn, revision 62608
Diffstat (limited to 'lib/plugins/core/AdminCourseAction.class.php')
| -rw-r--r-- | lib/plugins/core/AdminCourseAction.class.php | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/lib/plugins/core/AdminCourseAction.class.php b/lib/plugins/core/AdminCourseAction.class.php new file mode 100644 index 0000000..046502c --- /dev/null +++ b/lib/plugins/core/AdminCourseAction.class.php @@ -0,0 +1,22 @@ +<?php + +interface AdminCourseAction +{ + public function getAdminActionURL(); + + /** + * Defines if the Plugin wants to use the multimode to edit multiple courses at once. + * @return boolean|string: false, if multimode is not important, else true. But you can also set it to a string (means true) that is the label of the send-button like _("Veranstaltungen archivieren") + */ + public function useMultimode(); + + /** + * Returns a template for a small table cell (the <td> wraps the template-content) + * in which you can set inputs and links to display special actions for an admin + * for the given course. + * @param $course_id + * @param null $values + * @return null|Flex_Template + */ + public function getAdminCourseActionTemplate($course_id, $values = null); +} |
