ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
|
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 25 of file class.ilCalendarRegistration.php.
ilCalendarRegistration::__construct | ( | int | $a_appointment_id | ) |
Definition at line 32 of file class.ilCalendarRegistration.php.
|
static |
Definition at line 52 of file class.ilCalendarRegistration.php.
|
static |
Definition at line 42 of file class.ilCalendarRegistration.php.
ilCalendarRegistration::getAppointmentId | ( | ) |
Definition at line 62 of file class.ilCalendarRegistration.php.
References $appointment_id.
Referenced by read(), register(), and unregister().
ilCalendarRegistration::getRegisteredUsers | ( | \ilDateTime | $start, |
\ilDateTime | $end | ||
) |
Definition at line 67 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 81 of file class.ilCalendarRegistration.php.
References ilDateTime\get(), and IL_CAL_UNIX.
|
protected |
Read registration.
Definition at line 128 of file class.ilCalendarRegistration.php.
References $res, ilDBConstants\FETCHMODE_OBJECT, and getAppointmentId().
Referenced by __construct().
ilCalendarRegistration::register | ( | int | $a_usr_id, |
ilDateTime | $start, | ||
ilDateTime | $end | ||
) |
Definition at line 93 of file class.ilCalendarRegistration.php.
References getAppointmentId(), IL_CAL_UNIX, and unregister().
ilCalendarRegistration::unregister | ( | int | $a_usr_id, |
ilDateTime | $start, | ||
ilDateTime | $end | ||
) |
unregister one user
Definition at line 115 of file class.ilCalendarRegistration.php.
References $res, ilDateTime\get(), getAppointmentId(), and IL_CAL_UNIX.
Referenced by register().
|
private |
Definition at line 27 of file class.ilCalendarRegistration.php.
Referenced by getAppointmentId().
|
protected |
Definition at line 30 of file class.ilCalendarRegistration.php.
|
private |
Definition at line 28 of file class.ilCalendarRegistration.php.