|
ILIAS
release_4-3 Revision
|
registration for calendar appointments More...
Collaboration diagram for ilCalendarRegistration:Public Member Functions | |
| __construct ($a_appointment_id) | |
| Constructor. | |
| getAppointmentId () | |
| Get appoinmtent id. | |
| getRegisteredUsers () | |
| Get all registered users. | |
| isRegistered ($a_usr_id, ilDateTime $start, ilDateTime $end) | |
| Check if one user is registered. | |
| register ($a_usr_id, ilDateTime $start, ilDateTime $end) | |
| Register one user. | |
| unregister ($a_usr_id, ilDateTime $start, ilDateTime $end) | |
| unregister one user | |
Static Public Member Functions | |
| static | deleteByUser ($a_usr_id) |
| Delete all user registrations. | |
| static | deleteByAppointment ($a_cal_id) |
Protected Member Functions | |
| read () | |
| Read registration. | |
Private Attributes | |
| $appointment_id = 0 | |
| $registered = array() | |
registration for calendar appointments
Definition at line 13 of file class.ilCalendarRegistration.php.
| ilCalendarRegistration::__construct | ( | $a_appointment_id | ) |
Constructor.
Definition at line 23 of file class.ilCalendarRegistration.php.
References read().
Here is the call graph for this function:
|
static |
Definition at line 44 of file class.ilCalendarRegistration.php.
References $query.
|
static |
Delete all user registrations.
| object | $a_usr_id |
Definition at line 35 of file class.ilCalendarRegistration.php.
References $query.
| ilCalendarRegistration::getAppointmentId | ( | ) |
Get appoinmtent id.
Definition at line 57 of file class.ilCalendarRegistration.php.
References $appointment_id.
Referenced by read(), register(), and unregister().
Here is the caller graph for this function:| ilCalendarRegistration::getRegisteredUsers | ( | ) |
Get all registered users.
Definition at line 66 of file class.ilCalendarRegistration.php.
References $registered, and IL_CAL_UNIX.
| ilCalendarRegistration::isRegistered | ( | $a_usr_id, | |
| ilDateTime | $start, | ||
| ilDateTime | $end | ||
| ) |
Check if one user is registered.
| object | $a_usr_id |
Definition at line 86 of file class.ilCalendarRegistration.php.
References ilDateTime\get(), and IL_CAL_UNIX.
Here is the call graph for this function:
|
protected |
Read registration.
Definition at line 146 of file class.ilCalendarRegistration.php.
References $query, $res, $row, DB_FETCHMODE_OBJECT, and getAppointmentId().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCalendarRegistration::register | ( | $a_usr_id, | |
| ilDateTime | $start, | ||
| ilDateTime | $end | ||
| ) |
Register one user.
| int | $a_usr_id |
Definition at line 105 of file class.ilCalendarRegistration.php.
References $query, getAppointmentId(), IL_CAL_UNIX, and unregister().
Here is the call graph for this function:| ilCalendarRegistration::unregister | ( | $a_usr_id, | |
| ilDateTime | $start, | ||
| ilDateTime | $end | ||
| ) |
unregister one user
| int | $a_usr_id |
Definition at line 129 of file class.ilCalendarRegistration.php.
References $query, $res, ilDateTime\get(), getAppointmentId(), and IL_CAL_UNIX.
Referenced by register().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 15 of file class.ilCalendarRegistration.php.
Referenced by getAppointmentId().
|
private |
Definition at line 17 of file class.ilCalendarRegistration.php.
Referenced by getRegisteredUsers().