Stud.IP
trunk Revision
|
Functions | |
lastActivity ($sem_id) | |
dump_sem ($sem_id, $print_view=false) | |
dumpRegularDatesSchedule ($sem_id) | |
dumpExtraDatesSchedule ($sem_id) | |
dumpScheduleTable ($data, $title) | |
dumpDateTableHeader ($title) | |
dumpDateTableRows ($data) | |
in_archiv ($sem_id) | |
dump_sem | ( | $sem_id, | |
$print_view = false |
|||
) |
dumpDateTableHeader | ( | $title | ) |
Returns the first row (the header row) for the tables listing dates.
$title | title to show in first table row |
dumpDateTableRows | ( | $data | ) |
Returns the HTML table rows for the date entries in $data. The query has to start like this: SELECT termine.*, themen.title as th_title, themen.description as th_desc FROM termine LEFT JOIN themen_termine USING (termin_id) LEFT JOIN themen USING (issue_id)
$data | the result of an query for date entries |
dumpExtraDatesSchedule | ( | $sem_id | ) |
Returns the extra dates for one seminar
$sem_id | the id of the seminar |
dumpRegularDatesSchedule | ( | $sem_id | ) |
Returns the regular dates for one seminar.
$sem_id | the id of the seminar |
dumpScheduleTable | ( | $data, | |
$title | |||
) |
Returns the schedule table for one query as HTML. The query has to start like this: SELECT termine.*, themen.title as th_title, themen.description as th_desc FROM termine LEFT JOIN themen_termine USING (termin_id) LEFT JOIN themen USING (issue_id)
$data | the result of an query for date entries |
$title | the title for the table header |
in_archiv | ( | $sem_id | ) |
lastActivity | ( | $sem_id | ) |
This function returns the last activity in the course.
string | $sem_id | the id of the course |