◆ __construct()
      
        
          | __construct  | 
          ( | 
            | 
          $data = '' | ) | 
           | 
        
      
 
 
◆ addIssueID()
◆ addRelatedGroup()
      
        
          | 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()
      
        
          | 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()
◆ clearRelatedGroups()
clears all related groups 
 
 
◆ clearRelatedPersons()
clears all related persons (in the interface this means that all dozents are marked as related to the date) 
 
 
◆ delete()
      
        
          | delete  | 
          ( | 
            | 
          $keepIssues = false | ) | 
           | 
        
      
 
 
◆ deleteIssueID()
      
        
          | deleteIssueID  | 
          ( | 
            | 
          $issue_id | ) | 
           | 
        
      
 
 
◆ deleteRelatedGroup()
      
        
          | 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()
      
        
          | 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()
      
        
          | fillValuesFromArray  | 
          ( | 
            | 
          $daten | ) | 
           | 
        
      
 
 
◆ getAuthorID()
◆ getChDate()
◆ getComment()
◆ getCycleID()
◆ getDatesExport()
      
        
          | 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()
      
        
          | 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()
      
        
          | 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()
      
        
          | 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 
 
 
 
◆ getDateType()
◆ getEndTime()
◆ getFreeRoomText()
◆ getInstance()
      
        
          | getInstance  | 
          ( | 
            | 
          $singledate_id | ) | 
           | 
        
      
 
 
◆ getIssueIDs()
◆ getMessages()
◆ getMetaDateID()
◆ getMkDate()
◆ getOverlapMessage()
  
  
      
        
          | getOverlapMessage  | 
          ( | 
            | 
          $assignment_id = null,  | 
         
        
           | 
           | 
          array  | 
          $overlap_data = []  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
protected   | 
  
 
This method converts overlap data about an overlapping assignment 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
 - 
  
    | string | $assignment_id | The ID of an overlapping assignment. | 
    | array | $overlap_data | An associative array with data for an overlap. The array must have the following structure: [ 'begin' => The begin timestamp of the overlap. 'end' => The end timestamp of the overlap. 'lock' => Whether the overlap is caused by a lock assignment (true) or not (false). ] | 
  
   
- Returns
 - string A string representation of the overlap. 
 
 
 
◆ getRangeID()
◆ getRelatedGroups()
gets all statusgruppe_ids of related groups of this date 
- Returns
 - array of statusgruppe_ids 
 
 
 
◆ getRelatedPersons()
gets all user_ids of related persons of this date 
- Returns
 - array of user_ids 
 
 
 
◆ getRequestedRoom()
◆ getResourceID()
◆ getRoom()
◆ getRoomRequest()
◆ getRoomRequestInfo()
◆ getRoomRequestStatus()
this function returns a human-readable status of a room-request, if any, false otherwise
the int-values of the states are: 0 - room-request is open 1 - room-request has been edited, but no confirmation has been sent 2 - room-request has been edited and a confirmation has been sent 3 - room-request has been declined
they are mapped with: 0 - open 1 - pending 2 - closed 3 - declined
- Returns
 - string the mapped text 
 
 
 
◆ getSeminarID()
◆ getSingleDateID()
◆ getStartTime()
◆ getTerminID()
◆ getTypeName()
◆ hasRoom()
◆ hasRoomRequest()
◆ isExTermin()
◆ isHoliday()
◆ isPresence()
◆ isUpdate()
◆ killAssign()
◆ killIssue()
◆ readIssueIDs()
◆ removeRequest()
◆ restore()
◆ setComment()
◆ setDateType()
◆ setExTermin()
◆ setFreeRoomText()
      
        
          | setFreeRoomText  | 
          ( | 
            | 
          $freeRoomText | ) | 
           | 
        
      
 
 
◆ setMetaDateID()
◆ setSeminarID()
      
        
          | setSeminarID  | 
          ( | 
            | 
          $seminar_id | ) | 
           | 
        
      
 
 
◆ setTime()
◆ store()
◆ toString()
◆ validate()
      
        
          | validate  | 
          ( | 
            | 
          $start = 0,  | 
        
        
           | 
           | 
            | 
          $end = 0  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ $author_id
◆ $chdate
◆ $content
◆ $date
◆ $date_typ
◆ $end_time
◆ $ex_termin
◆ $issues
◆ $messages
◆ $metadate_id
◆ $mkdate
◆ $orig_ex
◆ $range_id
◆ $raum
◆ $related_groups
◆ $related_persons
◆ $request_id
◆ $requestData
◆ $resource_id
◆ $room_request
◆ $termin_id
◆ $update
The documentation for this class was generated from the following file: