ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Public Member Functions | |
__construct ($a_cal_entry_id) | |
Constructor. More... | |
getFirstAssignment () | |
get first assignment More... | |
getAssignments () | |
get assignments More... | |
addAssignment ($a_cal_cat_id) | |
add assignment More... | |
deleteAssignment ($a_cat_id) | |
delete assignment More... | |
deleteAssignments () | |
delete assignments More... | |
Static Public Member Functions | |
static | _lookupCategories ($a_cal_id) |
lookup categories More... | |
static | _lookupCategory ($a_cal_id) |
Lookup category id. More... | |
static | _getAppointmentCalendars ($a_cal_ids) |
lookup calendars for appointment ids More... | |
static | _getAssignedAppointments ($a_cat_id) |
Get assigned apointments. More... | |
static | lookupNumberOfAssignedAppointments ($a_cat_ids) |
Get number of assigned appoitments. More... | |
static | _getAutoGeneratedAppointmentsByObjId ($a_obj_id) |
get automatic generated appointments of category More... | |
static | _deleteByAppointmentId ($a_app_id) |
Delete appointment assignment. More... | |
static | _deleteByCategoryId ($a_cat_id) |
Delete assignments by category id. More... | |
Protected Attributes | |
$db | |
$cal_entry_id = 0 | |
$assignments = array() | |
Private Member Functions | |
read () | |
read assignments More... | |
Definition at line 32 of file class.ilCalendarCategoryAssignments.php.
ilCalendarCategoryAssignments::__construct | ( | $a_cal_entry_id | ) |
Constructor.
public
int | calendar entry id |
Definition at line 45 of file class.ilCalendarCategoryAssignments.php.
References $DIC, $ilDB, and read().
|
static |
Delete appointment assignment.
public
int | appointment id |
Definition at line 193 of file class.ilCalendarCategoryAssignments.php.
References $DIC, $ilDB, $query, and $res.
Referenced by ilConsultationHourUtils\cancelBooking(), ilCalendarEntry\delete(), ilCalendarAppointmentGUI\delete(), ilConsultationHoursGUI\delete(), ilCalendarAppEventListener\deleteAppointments(), and ilCalendarCategoryGUI\deleteAppointments().
|
static |
Delete assignments by category id.
public
int | category_id |
Definition at line 214 of file class.ilCalendarCategoryAssignments.php.
References $DIC, $ilDB, $query, and $res.
Referenced by ilCalendarCategory\delete(), and ilCalendarRemoteReader\importIcal().
|
static |
lookup calendars for appointment ids
public
array | $a_cal_ids |
Definition at line 103 of file class.ilCalendarCategoryAssignments.php.
References $DIC, $ilDB, $map, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilCalendarSchedule\calculate().
|
static |
Get assigned apointments.
public
array | $a_cat_id |
Definition at line 125 of file class.ilCalendarCategoryAssignments.php.
References $DIC, $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilCalendarExport\addCategories(), ilCalendarScheduleFilterExercise\addCustomEvents(), ilCalendarCategory\delete(), ilCalendarScheduleFilterTimings\findCalendarEntriesForItem(), ilCalendarDataSet\getDependencies(), ilCalendarSharedStatus\getOpenInvitations(), ilCalendarRemoteReader\importIcal(), and ilCalendarCategoryGUI\showAssignedAppointments().
|
static |
get automatic generated appointments of category
public
int | obj_id |
Definition at line 168 of file class.ilCalendarCategoryAssignments.php.
References $DIC, $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilCalendarAppEventListener\deleteAppointments().
|
static |
lookup categories
public
int | cal_id |
Definition at line 65 of file class.ilCalendarCategoryAssignments.php.
References $DIC, $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilCalendarExport\buildAppointmentUrl(), and ilCalendarVisibility\isAppointmentVisible().
|
static |
Lookup category id.
public
Definition at line 88 of file class.ilCalendarCategoryAssignments.php.
Referenced by ilCalendarAppointmentGUI\edit(), ilCalendarAppointmentGUI\editResponsibleUsers(), ilAppointmentBaseFileHandler\getCatId(), ilAppointmentPresentationGUI\getCatId(), ilCalendarAppointmentBaseFactory\getClassBaseName(), ilDownloadFilesBackgroundTask\getEventFileNameFromId(), ilCalendarAppointmentPanelGUI\getHTML(), ilCalendarAgendaListGUI\getHTML(), ilAppointmentFileHandlerFactory\getInstance(), ilAppointmentPresentationFactory\getInstance(), ilCalendarScheduleFilterExercise\modifyEvent(), ilCalendarScheduleFilterBookingPool\modifyEvent(), ilCalendarScheduleFilterTimings\modifyEvent(), and ilCalendarAppointmentGUI\showInfoScreen().
ilCalendarCategoryAssignments::addAssignment | ( | $a_cal_cat_id | ) |
add assignment
public
int | calendar category id |
Definition at line 255 of file class.ilCalendarCategoryAssignments.php.
References $DIC, $ilDB, $query, and $res.
Referenced by ilConsultationHourUtils\bookAppointment(), ilCalendarAppEventListener\createAppointments(), ilConsultationHoursGUI\createAppointments(), ilObjBookingPoolGUI\processBooking(), ilCalendarAppointmentGUI\save(), and ilICalParser\writeEvent().
ilCalendarCategoryAssignments::deleteAssignment | ( | $a_cat_id | ) |
ilCalendarCategoryAssignments::deleteAssignments | ( | ) |
delete assignments
public
Definition at line 301 of file class.ilCalendarCategoryAssignments.php.
References $DIC, $ilDB, $query, and $res.
Referenced by ilCalendarAppointmentGUI\update().
ilCalendarCategoryAssignments::getAssignments | ( | ) |
get assignments
public
Definition at line 243 of file class.ilCalendarCategoryAssignments.php.
ilCalendarCategoryAssignments::getFirstAssignment | ( | ) |
get first assignment
public
Definition at line 232 of file class.ilCalendarCategoryAssignments.php.
Referenced by ilCalendarAppointmentGUI\calendarEntryToCategory(), and ilCalendarAppointmentGUI\initForm().
|
static |
Get number of assigned appoitments.
type | $a_cat_id |
Definition at line 145 of file class.ilCalendarCategoryAssignments.php.
References $DIC, $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilCalendarCategoryGUI\doImportFile().
|
private |
read assignments
private
Definition at line 320 of file class.ilCalendarCategoryAssignments.php.
References $DIC, $ilDB, $query, $res, $row, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by __construct().
|
protected |
Definition at line 37 of file class.ilCalendarCategoryAssignments.php.
|
protected |
Definition at line 36 of file class.ilCalendarCategoryAssignments.php.
|
protected |
Definition at line 34 of file class.ilCalendarCategoryAssignments.php.