Stud.IP  trunk Revision
archiv.inc.php File Reference

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)
 

Function Documentation

◆ dump_sem()

dump_sem (   $sem_id,
  $print_view = false 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ dumpDateTableHeader()

dumpDateTableHeader (   $title)

Returns the first row (the header row) for the tables listing dates.

Parameters
$titletitle to show in first table row
Returns
the HTML for the first table row
Here is the call graph for this function:
Here is the caller graph for this function:

◆ dumpDateTableRows()

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)

Parameters
$datathe result of an query for date entries
Returns
the HTML for the table rows
Here is the call graph for this function:
Here is the caller graph for this function:

◆ dumpExtraDatesSchedule()

dumpExtraDatesSchedule (   $sem_id)

Returns the extra dates for one seminar

Parameters
$sem_idthe id of the seminar
Returns
the HTML for the schedule table for the extra dates
Here is the call graph for this function:
Here is the caller graph for this function:

◆ dumpRegularDatesSchedule()

dumpRegularDatesSchedule (   $sem_id)

Returns the regular dates for one seminar.

Parameters
$sem_idthe id of the seminar
Returns
the HTML for the schedule table
Here is the call graph for this function:
Here is the caller graph for this function:

◆ dumpScheduleTable()

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)

Parameters
$datathe result of an query for date entries
$titlethe title for the table header
Returns
the HTML for the schedule table
Here is the call graph for this function:
Here is the caller graph for this function:

◆ in_archiv()

in_archiv (   $sem_id)
Here is the call graph for this function:

◆ lastActivity()

lastActivity (   $sem_id)

This function returns the last activity in the course.

Parameters
string$sem_idthe id of the course
Returns
int timestamp of last activity (max chdate)
Here is the call graph for this function:
Here is the caller graph for this function: