| 
    ILIAS
    release_10 Revision v10.1-43-ga1241a92c2f
    
   | 
  
registration for calendar appointments More...
 Collaboration diagram for ilCalendarRegistration: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.
 Here is the call graph for this function:
      
  | 
  static | 
Definition at line 38 of file class.ilCalendarRegistration.php.
      
  | 
  static | 
Definition at line 28 of file class.ilCalendarRegistration.php.
| ilCalendarRegistration::getAppointmentId | ( | ) | 
Definition at line 48 of file class.ilCalendarRegistration.php.
References $appointment_id.
Referenced by read(), register(), and unregister().
 Here is the caller graph for this function:| 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().
 Here is the call graph for this function:| 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.
 Here is the call graph for this function:
      
  | 
  protected | 
Read registration.
Definition at line 114 of file class.ilCalendarRegistration.php.
References $res, ilDBConstants\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 | ( | int | $a_usr_id, | 
| ilDateTime | $start, | ||
| ilDateTime | $end | ||
| ) | 
Definition at line 79 of file class.ilCalendarRegistration.php.
References getAppointmentId(), IL_CAL_UNIX, and unregister().
 Here is the call graph for this function:| ilCalendarRegistration::unregister | ( | int | $a_usr_id, | 
| ilDateTime | $start, | ||
| ilDateTime | $end | ||
| ) | 
unregister one user
Definition at line 101 of file class.ilCalendarRegistration.php.
References $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 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.