| ILIAS
    Release_4_4_x_branch Revision 61816
    | 
 Collaboration diagram for ilCalendarCategoryAssignments:
 Collaboration diagram for ilCalendarCategoryAssignments:| Public Member Functions | |
| __construct ($a_cal_entry_id) | |
| Constructor. | |
| getFirstAssignment () | |
| get first assignment | |
| getAssignments () | |
| get assignments | |
| addAssignment ($a_cal_cat_id) | |
| add assignment | |
| deleteAssignment ($a_cat_id) | |
| delete assignment | |
| deleteAssignments () | |
| delete assignments | |
| Static Public Member Functions | |
| static | _lookupCategories ($a_cal_id) | 
| lookup categories | |
| static | _lookupCategory ($a_cal_id) | 
| Lookup category id. | |
| static | _getAppointmentCalendars ($a_cal_ids) | 
| lookup calendars for appointment ids | |
| static | _getAssignedAppointments ($a_cat_id) | 
| Get assigned apointments. | |
| static | lookupNumberOfAssignedAppointments ($a_cat_ids) | 
| Get number of assigned appoitments. | |
| static | _getAutoGeneratedAppointmentsByObjId ($a_obj_id) | 
| get automatic generated appointments of category | |
| static | _deleteByAppointmentId ($a_app_id) | 
| Delete appointment assignment. | |
| static | _deleteByCategoryId ($a_cat_id) | 
| Delete assignments by category id. | |
| Protected Attributes | |
| $db | |
| $cal_entry_id = 0 | |
| $assignments = array() | |
| Private Member Functions | |
| read () | |
| read assignments | |
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 read().
 Here is the call graph for this function:
 Here is the call graph for this function:| 
 | static | 
Delete appointment assignment.
public
| int | appointment id | 
Definition at line 187 of file class.ilCalendarCategoryAssignments.php.
Referenced by ilConsultationHourUtils\cancelBooking(), ilCalendarEntry\delete(), ilCalendarAppointmentGUI\delete(), ilConsultationHoursGUI\delete(), ilCalendarAppEventListener\deleteAppointments(), and ilCalendarCategoryGUI\deleteAppointments().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Delete assignments by category id.
public
| int | category_id | 
Definition at line 206 of file class.ilCalendarCategoryAssignments.php.
Referenced by ilCalendarCategory\delete(), and ilCalendarRemoteReader\importIcal().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
lookup calendars for appointment ids
public
| array | $a_cal_ids | 
Definition at line 101 of file class.ilCalendarCategoryAssignments.php.
References $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilCalendarSchedule\calculate().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Get assigned apointments.
public
| array | $a_cat_id | 
Definition at line 122 of file class.ilCalendarCategoryAssignments.php.
References $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilCalendarExport\addCategories(), ilCalendarCategory\delete(), ilCalendarDataSet\getDependencies(), ilCalendarRemoteReader\importIcal(), ilCalendarInboxSharedTableGUI\parse(), and ilCalendarCategoryGUI\showAssignedAppointments().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
get automatic generated appointments of category
public
| int | obj_id | 
Definition at line 163 of file class.ilCalendarCategoryAssignments.php.
References $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilCalendarAppEventListener\deleteAppointments().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
lookup categories
public
| int | cal_id | 
Definition at line 63 of file class.ilCalendarCategoryAssignments.php.
References $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilCalendarExport\buildAppointmentUrl(), and ilCalendarHidden\isAppointmentVisible().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Lookup category id.
public
| @return | 
Definition at line 85 of file class.ilCalendarCategoryAssignments.php.
Referenced by ilCalendarAppointmentGUI\edit(), ilCalendarAppointmentGUI\editResponsibleUsers(), ilCalendarAppointmentPanelGUI\getHTML(), and ilCalendarAppointmentGUI\showInfoScreen().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilCalendarCategoryAssignments::addAssignment | ( | $a_cal_cat_id | ) | 
add assignment
public
| int | calendar category id | 
Definition at line 245 of file class.ilCalendarCategoryAssignments.php.
Referenced by ilConsultationHourUtils\bookAppointment(), ilCalendarAppEventListener\createAppointments(), ilConsultationHoursGUI\createAppointments(), ilObjBookingPoolGUI\processBooking(), ilCalendarAppointmentGUI\save(), and ilICalParser\writeEvent().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| ilCalendarCategoryAssignments::deleteAssignment | ( | $a_cat_id | ) | 
delete assignment
public
| int | calendar category id | 
Definition at line 267 of file class.ilCalendarCategoryAssignments.php.
| ilCalendarCategoryAssignments::deleteAssignments | ( | ) | 
| ilCalendarCategoryAssignments::getAssignments | ( | ) | 
get assignments
public
Definition at line 233 of file class.ilCalendarCategoryAssignments.php.
| ilCalendarCategoryAssignments::getFirstAssignment | ( | ) | 
get first assignment
public
Definition at line 222 of file class.ilCalendarCategoryAssignments.php.
Referenced by ilCalendarAppointmentGUI\calendarEntryToCategory(), and ilCalendarAppointmentGUI\initForm().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | static | 
Get number of assigned appoitments.
| type | $a_cat_id | 
Definition at line 141 of file class.ilCalendarCategoryAssignments.php.
References $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilCalendarCategoryGUI\doImportFile().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | private | 
read assignments
private
Definition at line 305 of file class.ilCalendarCategoryAssignments.php.
References $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by __construct().
 Here is the caller graph for this function:
 Here is the caller graph for this function:| 
 | 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.