|
ILIAS
release_6 Revision v6.24-5-g0c8bfefb3b8
|
Collaboration diagram for ilCalendarUserNotification:Public Member Functions | |
| __construct ($a_cal_id=0) | |
| Init with calendar entry id. More... | |
| setEntryId ($a_id) | |
| Set calendar entry id. More... | |
| getEntryId () | |
| Get calendar entry id. More... | |
| getRecipients () | |
| validate () | |
| save () | |
| Save recipients to db. More... | |
| addRecipient ($a_type, $a_usr_id=0, $a_email='') | |
| Add recipient. More... | |
| setRecipients ($a_rcps) | |
| Set recipients. More... | |
| deleteRecipients () | |
| Delete all recipients @global ilDB $ilDB. More... | |
Static Public Member Functions | |
| static | deleteUser ($a_usr_id) |
| Delete a singel user @global ilDB $ilDB. More... | |
| static | deleteCalendarEntry ($a_cal_id) |
| Delete notification for a calendar entry @global ilDB $ilDB. More... | |
| static | createTable () |
Data Fields | |
| const | TYPE_USER = 1 |
| const | TYPE_EMAIL = 2 |
Protected Member Functions | |
| read () | |
| Read recipients @global ilDB $ilDB. More... | |
Private Attributes | |
| $cal_id = 0 | |
| $rcps = array() | |
Definition at line 10 of file class.ilCalendarUserNotification.php.
| ilCalendarUserNotification::__construct | ( | $a_cal_id = 0 | ) |
Init with calendar entry id.
Definition at line 22 of file class.ilCalendarUserNotification.php.
References read().
Here is the call graph for this function:| ilCalendarUserNotification::addRecipient | ( | $a_type, | |
$a_usr_id = 0, |
|||
$a_email = '' |
|||
| ) |
Add recipient.
| int | $a_type | |
| int | $a_usr_id | |
| string | $a_email |
Definition at line 141 of file class.ilCalendarUserNotification.php.
References $a_type.
Referenced by read().
Here is the caller graph for this function:
|
static |
Definition at line 207 of file class.ilCalendarUserNotification.php.
|
static |
Delete notification for a calendar entry @global ilDB $ilDB.
| int | $a_cal_id |
Definition at line 52 of file class.ilCalendarUserNotification.php.
References $DIC, $ilDB, $query, and $res.
Referenced by ilCalendarAppointmentGUI\delete().
Here is the caller graph for this function:| ilCalendarUserNotification::deleteRecipients | ( | ) |
Delete all recipients @global ilDB $ilDB.
Definition at line 164 of file class.ilCalendarUserNotification.php.
References $DIC, $ilDB, $query, $res, and getEntryId().
Referenced by save().
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Delete a singel user @global ilDB $ilDB.
| int | $a_usr_id |
Definition at line 34 of file class.ilCalendarUserNotification.php.
| ilCalendarUserNotification::getEntryId | ( | ) |
Get calendar entry id.
Definition at line 76 of file class.ilCalendarUserNotification.php.
References $cal_id.
Referenced by deleteRecipients(), read(), and save().
Here is the caller graph for this function:| ilCalendarUserNotification::getRecipients | ( | ) |
Definition at line 81 of file class.ilCalendarUserNotification.php.
References $rcps.
Referenced by save(), and validate().
Here is the caller graph for this function:
|
protected |
Read recipients @global ilDB $ilDB.
Definition at line 182 of file class.ilCalendarUserNotification.php.
References $DIC, $ilDB, $query, $res, addRecipient(), ilDBConstants\FETCHMODE_OBJECT, and getEntryId().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCalendarUserNotification::save | ( | ) |
Save recipients to db.
Definition at line 112 of file class.ilCalendarUserNotification.php.
References $DIC, $ilDB, $query, deleteRecipients(), getEntryId(), and getRecipients().
Here is the call graph for this function:| ilCalendarUserNotification::setEntryId | ( | $a_id | ) |
Set calendar entry id.
| int | $a_id |
Definition at line 68 of file class.ilCalendarUserNotification.php.
| ilCalendarUserNotification::setRecipients | ( | $a_rcps | ) |
Set recipients.
| array | $a_rcps |
Definition at line 154 of file class.ilCalendarUserNotification.php.
| ilCalendarUserNotification::validate | ( | ) |
Definition at line 86 of file class.ilCalendarUserNotification.php.
References $DIC, $ilErr, $lng, getRecipients(), and ilUtil\is_email().
Here is the call graph for this function:
|
private |
Definition at line 16 of file class.ilCalendarUserNotification.php.
Referenced by getEntryId().
|
private |
Definition at line 17 of file class.ilCalendarUserNotification.php.
Referenced by getRecipients().
| const ilCalendarUserNotification::TYPE_EMAIL = 2 |
Definition at line 13 of file class.ilCalendarUserNotification.php.
Referenced by ilAppointmentPresentationPublicGUI\collectPropertiesAndActions(), ilAppointmentPresentationUserGUI\collectPropertiesAndActions(), ilCalendarAppointmentGUI\distributeUserNotifications(), ilCalendarAppointmentGUI\initForm(), and ilCalendarAppointmentGUI\loadNotificationRecipients().
| const ilCalendarUserNotification::TYPE_USER = 1 |
Definition at line 12 of file class.ilCalendarUserNotification.php.
Referenced by ilAppointmentPresentationPublicGUI\collectPropertiesAndActions(), ilAppointmentPresentationUserGUI\collectPropertiesAndActions(), ilCalendarAppointmentGUI\distributeUserNotifications(), ilCalendarAppointmentGUI\initForm(), and ilCalendarAppointmentGUI\loadNotificationRecipients().