ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
|
Stores status (accepted/declined) of shared calendars. More...
Public Member Functions | |
__construct (int $a_usr_id) | |
isAccepted (int $a_cal_id) | |
isDeclined (int $a_cal_id) | |
accept (int $a_calendar_id) | |
decline (int $a_calendar_id) | |
getOpenInvitations () | |
Static Public Member Functions | |
static | getAcceptedCalendars (int $a_usr_id) |
static | hasStatus (int $a_usr_id, int $a_calendar_id) |
static | deleteUser (int $a_usr_id) |
static | deleteCalendar (int $a_calendar_id) |
static | deleteStatus (int $a_id, int $a_calendar_id) |
Data Fields | |
const | STATUS_ACCEPTED = 1 |
const | STATUS_DECLINED = 2 |
const | STATUS_DELETED = 3 |
Protected Member Functions | |
read () | |
Protected Attributes | |
ilDBInterface | $db |
Private Attributes | |
int | $usr_id = 0 |
array | $calendars = array() |
array | $writable = array() |
Stores status (accepted/declined) of shared calendars.
Definition at line 25 of file class.ilCalendarSharedStatus.php.
ilCalendarSharedStatus::__construct | ( | int | $a_usr_id | ) |
Definition at line 38 of file class.ilCalendarSharedStatus.php.
ilCalendarSharedStatus::accept | ( | int | $a_calendar_id | ) |
Definition at line 133 of file class.ilCalendarSharedStatus.php.
References $res, deleteStatus(), and STATUS_ACCEPTED.
ilCalendarSharedStatus::decline | ( | int | $a_calendar_id | ) |
Definition at line 147 of file class.ilCalendarSharedStatus.php.
References $res, deleteStatus(), and STATUS_DECLINED.
|
static |
Definition at line 97 of file class.ilCalendarSharedStatus.php.
|
static |
Definition at line 107 of file class.ilCalendarSharedStatus.php.
References $DIC, $ilDB, $res, and ilObject\_lookupType().
Referenced by accept(), decline(), and ilCalendarShared\stopSharing().
|
static |
Definition at line 87 of file class.ilCalendarSharedStatus.php.
|
static |
Definition at line 60 of file class.ilCalendarSharedStatus.php.
References $DIC, $ilDB, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilCalendarCategories\readPrivateCalendars().
ilCalendarSharedStatus::getOpenInvitations | ( | ) |
Definition at line 170 of file class.ilCalendarSharedStatus.php.
References $data, ilCalendarCategoryAssignments\_getAssignedAppointments(), ilCalendarShared\getSharedCalendarsForUser(), isAccepted(), and isDeclined().
|
static |
Definition at line 75 of file class.ilCalendarSharedStatus.php.
ilCalendarSharedStatus::isAccepted | ( | int | $a_cal_id | ) |
Definition at line 46 of file class.ilCalendarSharedStatus.php.
References STATUS_ACCEPTED.
Referenced by getOpenInvitations().
ilCalendarSharedStatus::isDeclined | ( | int | $a_cal_id | ) |
Definition at line 53 of file class.ilCalendarSharedStatus.php.
References STATUS_DECLINED.
Referenced by getOpenInvitations().
|
protected |
Definition at line 160 of file class.ilCalendarSharedStatus.php.
References $res, ilDBConstants\FETCHMODE_OBJECT, and ILIAS\Repository\int().
Referenced by __construct().
|
private |
Definition at line 35 of file class.ilCalendarSharedStatus.php.
|
protected |
Definition at line 31 of file class.ilCalendarSharedStatus.php.
|
private |
Definition at line 33 of file class.ilCalendarSharedStatus.php.
|
private |
Definition at line 36 of file class.ilCalendarSharedStatus.php.
const ilCalendarSharedStatus::STATUS_ACCEPTED = 1 |
Definition at line 27 of file class.ilCalendarSharedStatus.php.
Referenced by accept(), and isAccepted().
const ilCalendarSharedStatus::STATUS_DECLINED = 2 |
Definition at line 28 of file class.ilCalendarSharedStatus.php.
Referenced by decline(), and isDeclined().
const ilCalendarSharedStatus::STATUS_DELETED = 3 |
Definition at line 29 of file class.ilCalendarSharedStatus.php.