ILIAS  Release_4_1_x_branch Revision 61804
 All Data Structures Namespaces Files Functions Variables Groups Pages
ilConsultationHoursGUI Class Reference

Consultation hours editor. More...

+ Collaboration diagram for ilConsultationHoursGUI:

Public Member Functions

 __construct ()
 Constructor.
 executeCommand ()
 Execute command.
 getUserId ()
 Get user id.
 edit ()
 Edit multiple sequence items.
 confirmDelete ()
 confirm delete for multiple entries
 delete ()
 delete multiple entries
 showProfile ()
 show public profile of given user
 settings ()
 display settings gui
 updateSettings ()
 save settings

Data Fields

const MODE_CREATE = 1
const MODE_UPDATE = 2
const MODE_MULTI = 3

Protected Member Functions

 appointmentList ()
 Show settings of consultation hours.
 createSequence ()
 Create new sequence.
 initFormSequence ($a_mode)
 Init form.
 saveSequence ()
 Save new sequence.
 createAppointments (ilBookingEntry $booking)
 Create calendar appointments.
 setTabs ()
 Set tabs.
 updateMulti ()
 Update multiple sequence items.
 initSettingsForm ()
 build settings form

Protected Attributes

 $user_id
 $ctrl
 $booking = null

Detailed Description

Consultation hours editor.

: ilConsultationHoursGUI: ilPublicUserProfileGUI

Definition at line 33 of file class.ilConsultationHoursGUI.php.

Constructor & Destructor Documentation

ilConsultationHoursGUI::__construct ( )

Constructor.

Definition at line 47 of file class.ilConsultationHoursGUI.php.

References $_GET, $ilCtrl, $lng, $tpl, $user_id, and ilConsultationHourAppointments\getManagedUsers().

{
global $lng, $ilCtrl, $tpl, $ilUser;
$user_id = (int)$_GET['user_id'];
{
{
$this->user_id = $user_id;
}
else
{
$user_id = false;
}
}
if(!$user_id)
{
$this->user_id = $ilUser->getId();
}
$this->ctrl = $ilCtrl;
$this->lng = $lng;
$this->tpl = $tpl;
}

+ Here is the call graph for this function:

Member Function Documentation

ilConsultationHoursGUI::appointmentList ( )
protected

Show settings of consultation hours.

Todo:
add list/filter of consultation hours if user is responsible for more than one other consultation hour series.
Returns

Definition at line 116 of file class.ilConsultationHoursGUI.php.

References getUserId().

Referenced by confirmDelete(), delete(), and edit().

{
global $ilToolbar;
$ilToolbar->setFormAction($this->ctrl->getFormAction($this));
$ilToolbar->addButton($this->lng->txt('cal_ch_add_sequence'),$this->ctrl->getLinkTarget($this,'createSequence'));
include_once './Services/Calendar/classes/ConsultationHours/class.ilConsultationHoursTableGUI.php';
$tbl = new ilConsultationHoursTableGUI($this,'appointmentList',$this->getUserId());
$tbl->parse();
$this->tpl->setContent($tbl->getHTML());
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

ilConsultationHoursGUI::confirmDelete ( )

confirm delete for multiple entries

Definition at line 535 of file class.ilConsultationHoursGUI.php.

References $_POST, $tpl, appointmentList(), ilDatePresentation\formatDate(), and ilUtil\sendFailure().

{
global $tpl;
if(!isset($_POST['apps']))
{
ilUtil::sendFailure($this->lng->txt('select_one'));
return $this->appointmentList();
}
include_once('./Services/Utilities/classes/class.ilConfirmationGUI.php');
$this->ctrl->saveParameter($this,array('seed','app_id','dt'));
$confirm = new ilConfirmationGUI();
$confirm->setFormAction($this->ctrl->getFormAction($this));
$confirm->setHeaderText($this->lng->txt('cal_delete_app_sure'));
$confirm->setCancel($this->lng->txt('cancel'),'cancel');
include_once 'Services/Calendar/classes/class.ilCalendarEntry.php';
foreach($_POST['apps'] as $entry_id)
{
$entry = new ilCalendarEntry($entry_id);
$confirm->addItem('apps[]', $entry_id, ilDatePresentation::formatDate($entry->getStart()).', '.$entry->getTitle());
}
$confirm->setConfirm($this->lng->txt('delete'),'delete');
$confirm->setCancel($this->lng->txt('cancel'),'appointmentList');
$tpl->setContent($confirm->getHTML());
}

+ Here is the call graph for this function:

ilConsultationHoursGUI::createAppointments ( ilBookingEntry  $booking)
protected

Create calendar appointments.

Parameters
ilBookingEntry$booking
Returns

Definition at line 319 of file class.ilConsultationHoursGUI.php.

References ilCalendarCategoryAssignments\addAssignment(), ilCalendarRecurrenceCalculator\calculateDateList(), ilBookingEntry\getId(), getUserId(), IL_CAL_TRANSLATION_SYSTEM, IL_CAL_UNIX, ilCalendarUtil\initDefaultCalendarByType(), ilDateTime\MINUTE, ilCalendarCategory\TYPE_CH, and ilDateList\TYPE_DATETIME.

Referenced by saveSequence().

{
include_once './Services/Calendar/classes/class.ilDateList.php';
$concurrent_dates = new ilDateList(ilDateList::TYPE_DATETIME);
$start = clone $this->form->getItemByPostVar('st')->getDate();
for($i = 0; $i < $this->form->getItemByPostVar('ap')->getValue(); $i++)
{
$concurrent_dates->add($start);
$start = new ilDateTime($start->increment(ilDateTime::MINUTE,$this->form->getItemByPostVar('du')->getMinutes()),IL_CAL_UNIX);
}
include_once './Services/Calendar/classes/class.ilCalendarUtil.php';
$def_cat = ilCalendarUtil::initDefaultCalendarByType(ilCalendarCategory::TYPE_CH,$this->getUserId(),$this->lng->txt('cal_ch_personal_ch'),true);
// Add calendar appointment for each
include_once './Services/Calendar/classes/class.ilCalendarCategoryAssignments.php';
include_once './Services/Calendar/classes/class.ilCalendarEntry.php';
include_once './Services/Calendar/classes/class.ilCalendarRecurrenceCalculator.php';
include_once './Services/Booking/classes/class.ilBookingPeriod.php';
foreach($concurrent_dates as $dt)
{
$end = clone $dt;
$end->increment(ilDateTime::MINUTE,$this->form->getItemByPostVar('du')->getMinutes());
new ilBookingPeriod($dt,$end),
$this->form->getItemByPostVar('frequence')->getRecurrence()
);
// Calculate with one year limit
$limit = clone $dt;
$limit->increment(ilDAteTime::YEAR,1);
$date_list = $calc->calculateDateList($dt,$limit);
foreach($date_list as $app_start)
{
$app_end = clone $app_start;
$app_end->increment(ilDateTime::MINUTE,$this->form->getItemByPostVar('du')->getMinutes());
$entry = new ilCalendarEntry();
$entry->setContextId($booking->getId());
$entry->setTitle($this->form->getInput('ti'));
$entry->setDescription($this->form->getInput('de'));
$entry->setLocation($this->form->getInput('lo'));
$entry->setStart($app_start);
$entry->setEnd($app_end);
$entry->setTranslationType(IL_CAL_TRANSLATION_SYSTEM);
$entry->save();
$cat_assign = new ilCalendarCategoryAssignments($entry->getEntryId());
$cat_assign->addAssignment($def_cat->getCategoryID());
}
}
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

ilConsultationHoursGUI::createSequence ( )
protected

Create new sequence.

Returns

Definition at line 133 of file class.ilConsultationHoursGUI.php.

References IL_CAL_UNIX, and initFormSequence().

{
$this->initFormSequence(self::MODE_CREATE);
$this->booking = new ilBookingEntry();
$this->form->getItemByPostVar('bo')->setValue($this->booking->getNumberOfBookings());
$this->form->getItemByPostVar('ap')->setValue(1);
$this->form->getItemByPostVar('du')->setMinutes(15);
$this->form->getItemByPostVar('st')->setDate(
new ilDateTime(mktime(8,0,0,date('n',time()),date('d',time()),date('Y',time())),IL_CAL_UNIX));
$this->tpl->setContent($this->form->getHTML());
}

+ Here is the call graph for this function:

ilConsultationHoursGUI::delete ( )

delete multiple entries

Definition at line 570 of file class.ilConsultationHoursGUI.php.

References $_POST, $tpl, ilCalendarCategoryAssignments\_deleteByAppointmentId(), appointmentList(), ilBookingEntry\removeObsoleteEntries(), ilUtil\sendFailure(), and ilUtil\sendSuccess().

{
global $tpl;
if(!isset($_POST['apps']))
{
ilUtil::sendFailure($this->lng->txt('select_one'));
return $this->appointmentList();
}
include_once 'Services/Calendar/classes/class.ilCalendarEntry.php';
include_once 'Services/Calendar/classes/class.ilCalendarCategoryAssignments.php';
foreach($_POST['apps'] as $entry_id)
{
$entry = new ilCalendarEntry($entry_id);
$entry->delete();
}
ilUtil::sendSuccess($this->lng->txt('cal_deleted_app'), true);
$this->ctrl->redirect($this, 'appointmentList');
}

+ Here is the call graph for this function:

ilConsultationHoursGUI::edit ( )

Edit multiple sequence items.

Definition at line 402 of file class.ilConsultationHoursGUI.php.

References $_POST, $booking, appointmentList(), initFormSequence(), and ilUtil\sendFailure().

Referenced by updateMulti().

{
global $ilTabs;
if(!isset($_POST['apps']))
{
ilUtil::sendFailure($this->lng->txt('select_one'));
return $this->appointmentList();
}
$this->initFormSequence(self::MODE_MULTI);
if($_POST['apps'] && !is_array($_POST['apps']))
{
$_POST['apps'] = explode(';', $_POST['apps']);
}
$hidden = new ilHiddenInputGUI('apps');
$hidden->setValue(implode(';', $_POST['apps']));
$this->form->addItem($hidden);
include_once 'Services/Calendar/classes/class.ilCalendarEntry.php';
$first = $_POST['apps'];
$first = array_shift($_POST['apps']);
$entry = new ilCalendarEntry($first);
$this->form->getItemByPostVar('ti')->setValue($entry->getTitle());
$this->form->getItemByPostVar('lo')->setValue($entry->getLocation());
$this->form->getItemByPostVar('de')->setValue($entry->getDescription());
include_once 'Services/Booking/classes/class.ilBookingEntry.php';
$booking = new ilBookingEntry($entry->getContextId());
$this->form->getItemByPostVar('bo')->setValue($booking->getNumberOfBookings());
$this->form->getItemByPostVar('tgt')->setValue($booking->getTargetObjId());
$deadline = $booking->getDeadlineHours();
$this->form->getItemByPostVar('dead')->setDays(floor($deadline/24));
$this->form->getItemByPostVar('dead')->setHours($deadline%24);
$this->tpl->setContent($this->form->getHTML());
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

ilConsultationHoursGUI::executeCommand ( )

Execute command.

Returns

Definition at line 77 of file class.ilConsultationHoursGUI.php.

References $cmd, $ilCtrl, $user_id, and setTabs().

{
global $ilUser, $ilCtrl;
$this->setTabs();
if($ilUser->getId() != $this->user_id)
{
$ilCtrl->setParameter($this, 'user_id', $this->user_id);
}
switch($this->ctrl->getNextClass())
{
case "ilpublicuserprofilegui":
include_once('./Services/User/classes/class.ilPublicUserProfileGUI.php');
$profile = new ilPublicUserProfileGUI($this->user_id);
$ilCtrl->forwardCommand($profile);
break;
default:
$cmd = $this->ctrl->getCmd('appointmentList');
$this->$cmd();
}
}

+ Here is the call graph for this function:

ilConsultationHoursGUI::getUserId ( )

Get user id.

Returns

Definition at line 106 of file class.ilConsultationHoursGUI.php.

References $user_id.

Referenced by appointmentList(), createAppointments(), saveSequence(), setTabs(), and updateMulti().

{
}

+ Here is the caller graph for this function:

ilConsultationHoursGUI::initFormSequence (   $a_mode)
protected

Init form.

Parameters
int$a_mode
Returns

Definition at line 152 of file class.ilConsultationHoursGUI.php.

References IL_CAL_FREQ_DAILY, IL_CAL_FREQ_MONTHLY, IL_CAL_FREQ_WEEKLY, ilYuiUtil\initDomEvent(), ilRecurrenceInputGUI\setEnabledSubForms(), ilFormPropertyGUI\setInfo(), ilTextAreaInputGUI\setRows(), ilDurationInputGUI\setShowMinutes(), ilDateTimeInputGUI\setShowTime(), ilTextInputGUI\setSize(), and ilNumberInputGUI\setSize().

Referenced by createSequence(), edit(), saveSequence(), and updateMulti().

{
include_once './Services/Form/classes/class.ilPropertyFormGUI.php';
include_once('./Services/YUI/classes/class.ilYuiUtil.php');
$this->form = new ilPropertyFormGUI();
$this->form->setFormAction($this->ctrl->getFormAction($this));
switch($a_mode)
{
case self::MODE_CREATE:
$this->form->setTitle($this->lng->txt('cal_ch_add_sequence'));
$this->form->addCommandButton('saveSequence', $this->lng->txt('save'));
$this->form->addCommandButton('appointmentList', $this->lng->txt('cancel'));
break;
/*
case self::MODE_UPDATE:
$this->form->setTitle($this->lng->txt('cal_ch_edit_sequence'));
$this->form->addCommandButton('updateSequence', $this->lng->txt('save'));
$this->form->addCommandButton('appointmentList', $this->lng->txt('cancel'));
break;
*/
case self::MODE_MULTI:
$this->form->setTitle($this->lng->txt('cal_ch_multi_edit_sequence'));
$this->form->addCommandButton('updateMulti', $this->lng->txt('save'));
$this->form->addCommandButton('appointmentList', $this->lng->txt('cancel'));
break;
}
// Title
$ti = new ilTextInputGUI($this->lng->txt('title'),'ti');
$ti->setSize(32);
$ti->setMaxLength(128);
$ti->setRequired(true);
$this->form->addItem($ti);
if($a_mode != self::MODE_MULTI)
{
// Start
include_once './Services/Form/classes/class.ilDateTimeInputGUI.php';
$dur = new ilDateTimeInputGUI($this->lng->txt('cal_start'),'st');
$dur->setShowTime(true);
$dur->setMinuteStepSize(5);
$this->form->addItem($dur);
// Duration
$du = new ilDurationInputGUI($this->lng->txt('cal_ch_duration'),'du');
$du->setShowMinutes(true);
$du->setShowHours(false);
$this->form->addItem($du);
// Number of appointments
$nu = new ilNumberInputGUI($this->lng->txt('cal_ch_num_appointments'),'ap');
$nu->setInfo($this->lng->txt('cal_ch_num_appointments_info'));
$nu->setSize(2);
$nu->setMaxLength(2);
$nu->setRequired(true);
$nu->setMinValue(1);
$this->form->addItem($nu);
// Recurrence
include_once('./Services/Calendar/classes/Form/class.ilRecurrenceInputGUI.php');
$rec = new ilRecurrenceInputGUI($this->lng->txt('cal_recurrences'),'frequence');
array(
)
);
$this->form->addItem($rec);
}
// Number of bookings
$nu = new ilNumberInputGUI($this->lng->txt('cal_ch_num_bookings'),'bo');
$nu->setSize(2);
$nu->setMaxLength(2);
$nu->setMinValue(1);
$nu->setRequired(true);
$this->form->addItem($nu);
// Deadline
$dead = new ilDurationInputGUI($this->lng->txt('cal_ch_deadline'),'dead');
$dead->setInfo($this->lng->txt('cal_ch_deadline_info'));
$dead->setShowMinutes(false);
$dead->setShowHours(true);
$dead->setShowDays(true);
$this->form->addItem($dead);
// Location
$lo = new ilTextInputGUI($this->lng->txt('cal_where'),'lo');
$lo->setSize(32);
$lo->setMaxLength(128);
$this->form->addItem($lo);
// Description
$de = new ilTextAreaInputGUI($this->lng->txt('description'),'de');
$de->setRows(10);
$de->setCols(60);
$this->form->addItem($de);
// Target Object
$tgt = new ilNumberInputGUI($this->lng->txt('cal_ch_target_object'),'tgt');
$tgt->setInfo($this->lng->txt('cal_ch_target_object_info'));
$tgt->setSize(6);
$this->form->addItem($tgt);
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

ilConsultationHoursGUI::initSettingsForm ( )
protected

build settings form

Returns
object

Definition at line 645 of file class.ilConsultationHoursGUI.php.

References $ilDB, ilConsultationHourAppointments\getManager(), and ilFormPropertyGUI\setInfo().

Referenced by settings(), and updateSettings().

{
global $ilDB, $ilUser;
include_once './Services/Form/classes/class.ilPropertyFormGUI.php';
$form = new ilPropertyFormGUI();
$form->setFormAction($this->ctrl->getFormAction($this));
$mng = new ilTextInputGUI($this->lng->txt('cal_ch_manager'), 'mng');
$mng->setInfo($this->lng->txt('cal_ch_manager_info'));
$form->addItem($mng);
$form->setTitle($this->lng->txt('settings'));
$form->addCommandButton('updateSettings', $this->lng->txt('save'));
// $form->addCommandButton('appointmentList', $this->lng->txt('cancel'));
return $form;
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

ilConsultationHoursGUI::saveSequence ( )
protected

Save new sequence.

Returns

Definition at line 268 of file class.ilConsultationHoursGUI.php.

References $booking, createAppointments(), getUserId(), initFormSequence(), ilUtil\sendFailure(), and ilUtil\sendSuccess().

{
global $ilObjDataCache;
$this->initFormSequence(self::MODE_CREATE);
if($this->form->checkInput())
{
$this->form->setValuesByPost();
$booking->setObjId($this->getUserId());
$booking->setNumberOfBookings($this->form->getInput('bo'));
$deadline = $this->form->getInput('dead');
$deadline = $deadline['dd']*24+$deadline['hh'];
$booking->setDeadlineHours($deadline);
$tgt = $this->form->getInput('tgt');
if($tgt)
{
$obj_id = $ilObjDataCache->lookupObjId($tgt);
if(!$obj_id)
{
ilUtil::sendFailure($this->lng->txt('cal_ch_unknown_repository_object'));
$this->tpl->setContent($this->form->getHTML());
return;
}
$booking->setTargetObjId($obj_id);
}
$booking->save();
ilUtil::sendSuccess($this->lng->txt('settings_saved'), true);
$this->ctrl->redirect($this,'appointmentList');
}
else
{
$this->form->setValuesByPost();
$this->tpl->setContent($this->form->getHTML());
}
}

+ Here is the call graph for this function:

ilConsultationHoursGUI::setTabs ( )
protected

Set tabs.

Returns

Definition at line 381 of file class.ilConsultationHoursGUI.php.

References $ilCtrl, $user_id, ilConsultationHourAppointments\getManagedUsers(), and getUserId().

Referenced by executeCommand().

{
global $ilTabs, $ilUser, $ilCtrl;
$ilTabs->addTab('consultation_hours_'.$ilUser->getId(), $this->lng->txt('cal_ch_ch'), $this->ctrl->getLinkTarget($this,'appointmentList'));
{
$ilCtrl->setParameter($this, 'user_id', $user_id);
$ilTabs->addTab('consultation_hours_'.$user_id, $this->lng->txt('cal_ch_ch').': '.$login, $this->ctrl->getLinkTarget($this,'appointmentList'));
$ilCtrl->setParameter($this, 'user_id', '');
}
$ilTabs->addTab('settings', $this->lng->txt('settings'), $this->ctrl->getLinkTarget($this,'settings'));
$ilTabs->activateTab('consultation_hours_'.$this->getUserId());
}

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

ilConsultationHoursGUI::settings ( )

display settings gui

Definition at line 631 of file class.ilConsultationHoursGUI.php.

References $tpl, and initSettingsForm().

{
global $tpl, $ilTabs;
$ilTabs->activateTab('settings');
$form = $this->initSettingsForm();
$tpl->setContent($form->getHTML());
}

+ Here is the call graph for this function:

ilConsultationHoursGUI::showProfile ( )

show public profile of given user

Definition at line 599 of file class.ilConsultationHoursGUI.php.

References $_GET, $_REQUEST, $ilCtrl, $tpl, and $user_id.

{
global $tpl, $ilTabs, $ilCtrl;
$ilTabs->clearTargets();
// from repository
if(isset($_REQUEST["ref_id"]))
{
$ilTabs->setBackTarget($this->lng->txt('back'), $this->ctrl->getLinkTargetByClass('ilCalendarMonthGUI'));
}
// from panel
else if(isset($_GET['panel']))
{
$ilTabs->setBackTarget($this->lng->txt('back'), $this->ctrl->getLinkTargetByClass('ilCalendarPresentationGUI'));
}
// from appointments
else
{
$ilTabs->setBackTarget($this->lng->txt('back'), $this->ctrl->getLinkTarget($this, 'appointmentList'));
}
$user_id = (int)$_GET['user'];
include_once 'Services/User/classes/class.ilPublicUserProfileGUI.php';
$tpl->setContent($profile->getHTML());
}
ilConsultationHoursGUI::updateMulti ( )
protected

Update multiple sequence items.

Returns

Definition at line 449 of file class.ilConsultationHoursGUI.php.

References $_POST, $booking, $location, $title, edit(), ilBookingEntry\getInstanceByCalendarEntryId(), getUserId(), initFormSequence(), ilBookingEntry\removeObsoleteEntries(), ilUtil\sendFailure(), and ilUtil\sendSuccess().

{
global $ilObjDataCache;
$this->initFormSequence(self::MODE_MULTI);
if($this->form->checkInput())
{
$this->form->setValuesByPost();
$apps = explode(';', $_POST['apps']);
include_once 'Services/Booking/classes/class.ilBookingEntry.php';
include_once 'Services/Calendar/classes/class.ilCalendarEntry.php';
// do collision-check if max bookings were reduced
$first = $apps;
$first = array_shift($first);
if($this->form->getInput('bo') < $entry->getNumberOfBookings())
{
$this->edit();
return;
}
// create new context
$booking->setObjId($this->getUserId());
$booking->setNumberOfBookings($this->form->getInput('bo'));
$deadline = $this->form->getInput('dead');
$deadline = $deadline['dd']*24+$deadline['hh'];
$booking->setDeadlineHours($deadline);
$tgt = $this->form->getInput('tgt');
if($tgt)
{
// if value was not changed, we already have an object id
if($tgt != $entry->getTargetObjId())
{
$obj_id = $ilObjDataCache->lookupObjId($tgt);
if(!$obj_id)
{
ilUtil::sendFailure($this->lng->txt('cal_ch_unknown_repository_object'), true);
$this->edit();
return;
}
$booking->setTargetObjId($obj_id);
}
else
{
$booking->setTargetObjId($tgt);
}
}
$booking->save();
// update entries
$title = $this->form->getInput('ti');
$location = $this->form->getInput('lo');
$description = $this->form->getInput('de');
foreach($apps as $item_id)
{
$entry = new ilCalendarEntry($item_id);
$entry->setContextId($booking->getId());
$entry->setTitle($title);
$entry->setLocation($location);
$entry->setDescription($description);
$entry->update();
}
ilUtil::sendSuccess($this->lng->txt('settings_saved'), true);
$this->ctrl->redirect($this,'appointmentList');
}
$this->tpl->setContent($this->form->getHTML());
}

+ Here is the call graph for this function:

ilConsultationHoursGUI::updateSettings ( )

save settings

Definition at line 669 of file class.ilConsultationHoursGUI.php.

References $ilCtrl, $ilDB, $tpl, initSettingsForm(), ilUtil\sendFailure(), ilUtil\sendSuccess(), and ilConsultationHourAppointments\setManager().

{
global $ilDB, $ilCtrl, $ilUser, $tpl, $ilTabs;
$form = $this->initSettingsForm();
if($form->checkInput())
{
$mng = $form->getInput('mng');
{
ilUtil::sendSuccess($this->lng->txt('settings_saved'), true);
$ilCtrl->redirect($this, 'appointmentList');
}
else
{
$ilTabs->activateTab('settings');
ilUtil::sendFailure($this->lng->txt('cal_ch_unknown_user'));
$field = $form->getItemByPostVar('mng');
$field->setValue($mng);
$tpl->setContent($form->getHTML());
return;
}
}
}

+ Here is the call graph for this function:

Field Documentation

ilConsultationHoursGUI::$booking = null
protected

Definition at line 42 of file class.ilConsultationHoursGUI.php.

Referenced by edit(), saveSequence(), and updateMulti().

ilConsultationHoursGUI::$ctrl
protected

Definition at line 40 of file class.ilConsultationHoursGUI.php.

ilConsultationHoursGUI::$user_id
protected
const ilConsultationHoursGUI::MODE_CREATE = 1

Definition at line 35 of file class.ilConsultationHoursGUI.php.

const ilConsultationHoursGUI::MODE_MULTI = 3

Definition at line 37 of file class.ilConsultationHoursGUI.php.

const ilConsultationHoursGUI::MODE_UPDATE = 2

Definition at line 36 of file class.ilConsultationHoursGUI.php.


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