|
Stud.IP
2.0 Revision 48548
|

Static Public Member Functions | |
| static | storeEntry ($data) |
| static | storeSeminarEntry ($data) |
| static | deleteEntry ($id) |
| static | getScheduleEntries ($user_id, $start_hour, $end_hour, $id=false) |
| static | getSeminarEntry ($seminar_id, $user_id, $cycle_id=false) |
| static | deleteSeminarEntries ($user_id, $seminar_id) |
| static | getSeminarEntries ($user_id, $semester, $start_hour, $end_hour, $show_hidden=false) |
| static | getSeminarEntriesForInstitute ($user_id, $semester, $start_hour, $end_hour, $institute_id) |
| static | getSeminarCycleId (Seminar $seminar, $start, $end) |
| static | isSeminarVisible ($seminar_id, $cycle_id) |
| static | getInstituteEntries ($user_id, $semester, $start_hour, $end_hour, $institute_id, $show_hidden=false) |
| static | getEntries ($user_id, $semester, $start_hour, $end_hour, $show_hidden=false) |
| static | adminBind ($seminar_id, $cycle_id, $visible=true) |
| static | unbind ($seminar_id, $cycle_id=false) |
| static | bind ($seminar_id, $cycle_id) |
Pseudo-namespace containing helper methods for the schedule.
|
static |
Toggle entries' visibility
| string | the course's ID |
| string | the cycle's ID |
| bool | the value to switch to |


|
static |
Switch a cycle to visible.
| string | the course's ID |
| string | the cycle's ID |


|
static |
delete the entry with the submitted id, belonging to the current user
| string | $id |


|
static |
Deletes the schedule entries of one user for one seminar.
| $user_id | the user of the schedule |
| $seminar_id | the seminar which entries should be deleted |


|
static |
return an array of entries in the schedule (personal ones and regular seminar-dates)
| string | $user_id | |
| mixed | $semester | the data for the semester to be displayed |


|
static |
Returns a merged array consisting of normal and courses' entries
| string | the user's ID |
| string | the course's ID |
| string | the start hour of the entries |
| string | the end hour of the entries |
| string | the institute's ID |
| bool | filters hidden entries |


|
static |
Returns the schedule entries (optionally of a given course)
| string | the ID of the user |
| int | the start hour |
| int | the end hour |
| string | optional; the ID of the course |


|
static |
|
static |
Returns an schedule entry of a course
| string | the ID of the user |
| string | the ID of the course |
| int | the start hour |
| int | the end hour |
| string | optional; true to show hidden, false otherwise |


|
static |
Returns the schedule entries of the specified institute
| string | the ID of the user |
| array | an array containing the "beginn" of the semester |
| int | the start hour |
| int | the end hour |
| string | the ID of the institute |


|
static |
Return an entry for the specified course
| string | the ID of the course |
| string | the ID of the user |
| mixed | either false or the ID of the cycle |


|
static |
| string | the ID of the course |
| string | the ID of the cycle |

|
static |
update an existing entry or -if $data['id'] is not set- create a new entry
| mixed | $data |


|
static |
Update an existing entry of a course or create a new entry if $data['id'] is not set
| mixed | the data to store |


|
static |
Switch a cycle to invisible.
| string | the course's ID |
| string | the cycle's ID |

