ILIAS
release_8 Revision v8.19
|
registration for calendar appointments More...
Public Member Functions | |
__construct (int $a_appointment_id) | |
getAppointmentId () | |
getRegisteredUsers (\ilDateTime $start, \ilDateTime $end) | |
isRegistered ($a_usr_id, ilDateTime $start, ilDateTime $end) | |
register (int $a_usr_id, ilDateTime $start, ilDateTime $end) | |
unregister (int $a_usr_id, ilDateTime $start, ilDateTime $end) | |
unregister one user More... | |
Static Public Member Functions | |
static | deleteByUser (int $a_usr_id) |
static | deleteByAppointment (int $a_cal_id) |
Protected Member Functions | |
read () | |
Read registration. More... | |
Protected Attributes | |
ilDBInterface | $db |
Private Attributes | |
int | $appointment_id = 0 |
array | $registered = array() |
registration for calendar appointments
Definition at line 11 of file class.ilCalendarRegistration.php.
ilCalendarRegistration::__construct | ( | int | $a_appointment_id | ) |
Definition at line 18 of file class.ilCalendarRegistration.php.
|
static |
|
static |
ilCalendarRegistration::getAppointmentId | ( | ) |
Definition at line 48 of file class.ilCalendarRegistration.php.
References $appointment_id.
Referenced by read(), register(), and unregister().
ilCalendarRegistration::getRegisteredUsers | ( | \ilDateTime | $start, |
\ilDateTime | $end | ||
) |
Definition at line 53 of file class.ilCalendarRegistration.php.
References ilDateTime\get(), IL_CAL_UNIX, and ILIAS\Repository\int().
ilCalendarRegistration::isRegistered | ( | $a_usr_id, | |
ilDateTime | $start, | ||
ilDateTime | $end | ||
) |
Definition at line 67 of file class.ilCalendarRegistration.php.
References ilDateTime\get(), and IL_CAL_UNIX.
|
protected |
Read registration.
Definition at line 114 of file class.ilCalendarRegistration.php.
References $query, $res, ilDBConstants\FETCHMODE_OBJECT, and getAppointmentId().
Referenced by __construct().
ilCalendarRegistration::register | ( | int | $a_usr_id, |
ilDateTime | $start, | ||
ilDateTime | $end | ||
) |
Definition at line 79 of file class.ilCalendarRegistration.php.
References $query, getAppointmentId(), IL_CAL_UNIX, and unregister().
ilCalendarRegistration::unregister | ( | int | $a_usr_id, |
ilDateTime | $start, | ||
ilDateTime | $end | ||
) |
unregister one user
Definition at line 101 of file class.ilCalendarRegistration.php.
References $query, $res, ilDateTime\get(), getAppointmentId(), and IL_CAL_UNIX.
Referenced by register().
|
private |
Definition at line 13 of file class.ilCalendarRegistration.php.
Referenced by getAppointmentId().
|
protected |
Definition at line 16 of file class.ilCalendarRegistration.php.
|
private |
Definition at line 14 of file class.ilCalendarRegistration.php.