|
Stud.IP
2.4 Revision 48548
|

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 an schedule entry of 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 |

