5 include_once 
'./Services/Calendar/classes/ConsultationHours/class.ilConsultationHourGroup.php';
 
    6 include_once 
'./Services/Table/classes/class.ilTable2GUI.php';
 
   25         public function __construct($a_parent_obj, $a_parent_cmd, $a_user_id)
 
   27                 $this->user_id = $a_user_id;
 
   28                 $this->
setId(
'chboo_'.$this->user_id);
 
   42                 $this->
setRowTemplate(
'tpl.ch_booking_row.html',
'Services/Calendar');
 
   61                 $this->
addMultiCommand(
'confirmRejectBooking', $this->lng->txt(
'cal_ch_reject_booking'));
 
   62                 $this->
addMultiCommand(
'confirmDeleteBooking', $this->lng->txt(
'cal_ch_delete_booking'));
 
   73                 $this->tpl->setVariable(
'START',
$row[
'start_str']);
 
   74                 $this->tpl->setVariable(
'NAME',
$row[
'name']);
 
   75                 $this->tpl->setVariable(
'COMMENT',
$row[
'comment']);
 
   76                 $this->tpl->setVariable(
'TITLE',
$row[
'title']);
 
   77                 $this->tpl->setVariable(
'VAL_ID',
$row[
'id']);
 
   79                 include_once 
'./Services/UIComponent/AdvancedSelectionList/classes/class.ilAdvancedSelectionListGUI.php';
 
   81                 $list->setId(
'act_chboo_'.
$row[
'id']);
 
   82                 $list->setListTitle($this->lng->txt(
'actions'));
 
   90                                 $this->lng->txt(
'cal_ch_reject_booking'),
 
   96                         $this->lng->txt(
'cal_ch_delete_booking'),
 
  100                 $this->tpl->setVariable(
'ACTIONS',$list->getHTML());
 
  108         public function parse(array $appointments)
 
  114                 foreach($appointments as $app)
 
  116                         include_once 
'./Services/Calendar/classes/class.ilCalendarEntry.php';
 
  119                         include_once 
'./Services/Booking/classes/class.ilBookingEntry.php';
 
  122                                 include_once 
'./Services/User/classes/class.ilUserUtil.php';
 
  127                                                 $ilCtrl->getLinkTarget($this->getParentObject(),$this->
getParentCmd()),
 
  133                                 if(strlen(trim($message)))
 
  135                                         $rows[$counter][
'comment'] = (
'"'.$message.
'"');
 
  137                                 $rows[$counter][
'title'] = $cal_entry->getTitle();
 
  138                                 $rows[$counter][
'start'] = $cal_entry->getStart()->get(
IL_CAL_UNIX);
 
  140                                 $rows[$counter][
'id'] = $app.
'_'.
$user_id;