3 include_once(
"./Services/Calendar/classes/Appointment/class.ilCalendarAppointmentBaseFactory.php");
15 include_once(
'./Services/Calendar/classes/class.ilCalendarCategoryAssignments.php');
18 $cat_info[
"type"] = $cat->getType();
19 $cat_info[
"obj_id"] = $cat->getObjId();
20 $class_base = self::getClassBaseName($a_appointment);
24 if (!in_array($class_base, array(
"Session",
"Course",
"ConsultationHours",
"Exercise",
"BookingPool"))) {
25 $class_base =
"Dummy";
29 $class_name =
"ilAppointment" . $class_base .
"FileHandler";
30 require_once
"./Services/Calendar/classes/FileHandler/class." . $class_name .
".php";
32 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)