blob: 046502c76ac86e2bc4417a01cef579249929f1ee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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);
}
|