3 include_once(
"./Services/Calendar/classes/Appointment/class.ilCalendarAppointmentBaseFactory.php");
19 include_once(
'./Services/Calendar/classes/class.ilCalendarCategoryAssignments.php');
22 $cat_info[
"type"] = $cat->getType();
23 $cat_info[
"obj_id"] = $cat->getObjId();
24 $class_base = self::getClassBaseName($a_appointment);
28 if (!in_array($class_base, array(
"Session",
"Course",
"ConsultationHours",
"Exercise",
"BookingPool"))) {
29 $class_base =
"Dummy";
33 $class_name =
"ilAppointment" . $class_base .
"FileHandler";
34 require_once
"./Services/Calendar/classes/FileHandler/class." . $class_name .
".php";
36 return $class_name::getInstance($a_appointment);
static _lookupCategory($a_cal_id)
Lookup category id.
static getInstanceByCategoryId($a_cat_id)
Get instance by category id.
static getInstance($a_appointment)