ILIAS
Release_4_0_x_branch Revision 61816
|
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 | _getAssignedAppointments ($a_cat_id) |
lookup appointment ids by calendar | |
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 | ) |
|
static |
Delete appointment assignment.
public
int | appointment id |
Definition at line 149 of file class.ilCalendarCategoryAssignments.php.
References $ilDB, $query, and $res.
Referenced by ilCalendarAppointmentGUI\delete(), ilCalendarAppEventListener\deleteAppointments(), and ilCalendarCategoryGUI\deleteAppointments().
|
static |
Delete assignments by category id.
public
int | category_id |
Definition at line 168 of file class.ilCalendarCategoryAssignments.php.
References $ilDB, $query, and $res.
Referenced by ilCalendarCategory\delete().
|
static |
lookup appointment ids by calendar
public
array | calendar category id(s) |
Definition at line 102 of file class.ilCalendarCategoryAssignments.php.
References $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilCalendarExport\addCategories(), ilCalendarCategory\delete(), ilCalendarInboxSharedTableGUI\parse(), and ilCalendarCategoryGUI\showAssignedAppointments().
|
static |
get automatic generated appointments of category
public
int | obj_id |
Definition at line 125 of file class.ilCalendarCategoryAssignments.php.
References $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilCalendarAppEventListener\deleteAppointments().
|
static |
lookup categories
public
int | cal_id |
Definition at line 63 of file class.ilCalendarCategoryAssignments.php.
References $ilDB, $query, $res, $row, and DB_FETCHMODE_OBJECT.
Referenced by ilCalendarHidden\isAppointmentVisible().
|
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().
ilCalendarCategoryAssignments::addAssignment | ( | $a_cal_cat_id | ) |
add assignment
public
int | calendar category id |
Definition at line 207 of file class.ilCalendarCategoryAssignments.php.
References $ilDB, $query, and $res.
Referenced by ilCalendarAppEventListener\createAppointments(), ilCalendarAppointmentGUI\save(), and ilICalParser\writeEvent().
ilCalendarCategoryAssignments::deleteAssignment | ( | $a_cat_id | ) |
delete assignment
public
int | calendar category id |
Definition at line 229 of file class.ilCalendarCategoryAssignments.php.
ilCalendarCategoryAssignments::deleteAssignments | ( | ) |
delete assignments
public
Definition at line 250 of file class.ilCalendarCategoryAssignments.php.
References $ilDB, $query, and $res.
Referenced by ilCalendarAppointmentGUI\update().
ilCalendarCategoryAssignments::getAssignments | ( | ) |
get assignments
public
Definition at line 195 of file class.ilCalendarCategoryAssignments.php.
ilCalendarCategoryAssignments::getFirstAssignment | ( | ) |
get first assignment
public
Definition at line 184 of file class.ilCalendarCategoryAssignments.php.
Referenced by ilCalendarAppointmentGUI\initForm().
|
private |
read assignments
private
Definition at line 267 of file class.ilCalendarCategoryAssignments.php.
References $ilDB, $query, $res, $row, and DB_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.