Stud.IP
4.2 Revision
|
Static Public Member Functions | |
static | getSeminarEntry ($seminar_id, $user_id, $cycle_id=false) |
static | getInstituteEntries ($user_id, $semester, $start_hour, $end_hour, $institute_id, $days) |
Pseudo-namespace containing helper methods for the calendar of institutes.
|
static |
Returns an array of CalendarColumn's, containing the seminar-entries for the passed user (in the passed semester belonging to the passed institute) The start- and end-hour are used to constrain the returned entries to the passed time-period. The passed days constrain the entries to these.
string | $user_id | the ID of the user |
array | $semester | an array containing the "beginn" of the semester |
int | $start_hour | the start hour |
int | $end_hour | the end hour |
string | $institute_id | the ID of the institute |
array | $days | the days to be displayed |
|
static |
Returns a schedule entry for a course
string | $seminar_id | the ID of the course |
string | $user_id | the ID of the user |
string | $cycle_id | optional; if given, specifies the ID of the entry |