Stud.IP  2.4 Revision 48548
 All Data Structures Namespaces Files Functions Variables Groups Pages
CalendarInstscheduleModel Class Reference
Collaboration diagram for CalendarInstscheduleModel:
Collaboration graph

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)

Detailed Description

Pseudo-namespace containing helper methods for the calendar of institutes.

Since
2.0

Member Function Documentation

static getInstituteEntries (   $user_id,
  $semester,
  $start_hour,
  $end_hour,
  $institute_id,
  $days 
)
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.

Parameters
string$user_idthe ID of the user
array$semesteran array containing the "beginn" of the semester
int$start_hourthe start hour
int$end_hourthe end hour
string$institute_idthe ID of the institute
array$daysthe days to be displayed
Returns
array an array containing the entries

Here is the call graph for this function:

Here is the caller graph for this function:

static getSeminarEntry (   $seminar_id,
  $user_id,
  $cycle_id = false 
)
static

Returns an schedule entry of a course

Parameters
string$seminar_idthe ID of the course
string$user_idthe ID of the user
string$cycle_idoptional; if given, specifies the ID of the entry
Returns
array an array containing the properties of the entry

Here is the call graph for this function:

Here is the caller graph for this function:


The documentation for this class was generated from the following file: