__construct |
( |
|
$data = '' | ) |
|
addRelatedGroup |
( |
|
$statusgruppe_id | ) |
|
adds a given statusgruppe_id as a related group to the date
- Parameters
-
string | $statusgruppe_id | statusgruppe_id from statusgruppen of the group to be added |
addRelatedPerson |
( |
|
$user_id | ) |
|
adds a given user_id as a related person to the date
- Parameters
-
string | $user_id | user_id from auth_user_md5 of the person to be added |
bookRoom |
( |
|
$room_id, |
|
|
|
$preparation_time = 0 |
|
) |
| |
clears all related groups
clears all related persons (in the interface this means that all dozents are marked as related to the date)
deleteIssueID |
( |
|
$issue_id | ) |
|
deleteRelatedGroup |
( |
|
$statusgruppe_id | ) |
|
unsets a given statusgruppe_id from the array of related statusgruppen
- Parameters
-
string | $statusgruppe_id | statusgruppe_id from statusgruppen of the group to be removed |
deleteRelatedPerson |
( |
|
$user_id | ) |
|
unsets a given user_id from the array of related persons
- Parameters
-
string | $user_id | user_id from auth_user_md5 of the person to be added |
fillValuesFromArray |
( |
|
$daten | ) |
|
getDatesExport |
( |
|
$params = [] | ) |
|
returns a representation without html of the date
- Parameters
-
array | optional variables which are passed to the template |
- Returns
- string the representation of the date without html
- Author
- Till Glöggler tgloe.nosp@m.ggl@.nosp@m.uos.d.nosp@m.e
getDatesHTML |
( |
|
$params = [] | ) |
|
returns a html representation of the date
- Parameters
-
array | optional variables which are passed to the template |
- Returns
- string the html-representation of the date
- Author
- Till Glöggler tgloe.nosp@m.ggl@.nosp@m.uos.d.nosp@m.e
getDatesTemplate |
( |
|
$template | ) |
|
returns a representation of the date with a specifiable template
- Parameters
-
mixed | this can be a template-object or a string pointing to a template in path_to_studip/templates |
- Returns
- string the template output of the date
- Author
- Till Glöggler tgloe.nosp@m.ggl@.nosp@m.uos.d.nosp@m.e
getDatesXML |
( |
|
$params = [] | ) |
|
returns a xml-representation of the date
- Parameters
-
array | optional variables which are passed to the template |
- Returns
- string the xml-representation of the date
- Author
- Till Glöggler tgloe.nosp@m.ggl@.nosp@m.uos.d.nosp@m.e
getInstance |
( |
|
$singledate_id | ) |
|
This method converts overlap data about an overlapping booking to a string that can be used to output overlap information to the user. Only one overlap is converted by this method. For multiple overlaps this method must be called multiple times.
- Parameters
-
- Returns
- string A string representation of the overlap.
gets all statusgruppe_ids of related groups of this date
- Returns
- array of statusgruppe_ids
gets all user_ids of related persons of this date
- Returns
- array of user_ids
Returns the room name for this SingleDate object.
- Returns
- string The room name.
setFreeRoomText |
( |
|
$freeRoomText | ) |
|
setSeminarID |
( |
|
$seminar_id | ) |
|
validate |
( |
|
$start = 0 , |
|
|
|
$end = 0 |
|
) |
| |
The documentation for this class was generated from the following file: