|
ILIAS
release_9 Revision v9.13-25-g2c18ec4c24f
|
Handles calendar authentication tokens for external calendar subscriptions. More...
Collaboration diagram for ilCalendarAuthenticationToken:Public Member Functions | |
| __construct (int $a_user_id, string $a_token='') | |
| getSelectionType () | |
| getUserId () | |
| setSelectionType (int $a_type) | |
| setCalendar (int $a_cal) | |
| getCalendar () | |
| setIcal (string $ical) | |
| getIcal () | |
| getToken () | |
| storeIcal () | |
| isIcalExpired () | |
| Check if cache is disabled or expired. More... | |
| add () | |
Static Public Member Functions | |
| static | lookupAuthToken (int $a_user_id, int $a_selection, int $a_calendar=0) |
| static | lookupUser (string $a_token) |
Data Fields | |
| const | SELECTION_NONE = 0 |
| const | SELECTION_PD = 1 |
| const | SELECTION_CATEGORY = 2 |
| const | SELECTION_CALENDAR = 3 |
Protected Member Functions | |
| createToken () | |
| read () | |
Protected Attributes | |
| ilDBInterface | $db |
Private Attributes | |
| int | $user |
| string | $token = '' |
| int | $selection_type = self::SELECTION_NONE |
| int | $calendar = 0 |
| string | $ical = '' |
| int | $ical_ctime = 0 |
Handles calendar authentication tokens for external calendar subscriptions.
Definition at line 26 of file class.ilCalendarAuthenticationToken.php.
| ilCalendarAuthenticationToken::__construct | ( | int | $a_user_id, |
| string | $a_token = '' |
||
| ) |
Definition at line 44 of file class.ilCalendarAuthenticationToken.php.
References $DIC, read(), and ILIAS\Repository\user().
Here is the call graph for this function:| ilCalendarAuthenticationToken::add | ( | ) |
Definition at line 155 of file class.ilCalendarAuthenticationToken.php.
References createToken(), getCalendar(), getSelectionType(), getToken(), and getUserId().
Here is the call graph for this function:
|
protected |
Definition at line 169 of file class.ilCalendarAuthenticationToken.php.
References getSelectionType(), and getUserId().
Referenced by add().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCalendarAuthenticationToken::getCalendar | ( | ) |
Definition at line 105 of file class.ilCalendarAuthenticationToken.php.
References $calendar.
Referenced by add().
Here is the caller graph for this function:| ilCalendarAuthenticationToken::getIcal | ( | ) |
Definition at line 115 of file class.ilCalendarAuthenticationToken.php.
References $ical.
Referenced by storeIcal().
Here is the caller graph for this function:| ilCalendarAuthenticationToken::getSelectionType | ( | ) |
Definition at line 85 of file class.ilCalendarAuthenticationToken.php.
References $selection_type.
Referenced by add(), and createToken().
Here is the caller graph for this function:| ilCalendarAuthenticationToken::getToken | ( | ) |
Definition at line 120 of file class.ilCalendarAuthenticationToken.php.
References $token.
Referenced by add(), read(), and storeIcal().
Here is the caller graph for this function:| ilCalendarAuthenticationToken::getUserId | ( | ) |
Definition at line 90 of file class.ilCalendarAuthenticationToken.php.
References $user.
Referenced by add(), createToken(), read(), and storeIcal().
Here is the caller graph for this function:| ilCalendarAuthenticationToken::isIcalExpired | ( | ) |
Check if cache is disabled or expired.
Definition at line 144 of file class.ilCalendarAuthenticationToken.php.
References ilCalendarSettings\_getInstance().
Here is the call graph for this function:
|
static |
Definition at line 55 of file class.ilCalendarAuthenticationToken.php.
References $DIC, $ilDB, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilCalendarSubscriptionGUI\createToken().
Here is the caller graph for this function:
|
static |
Definition at line 71 of file class.ilCalendarAuthenticationToken.php.
References $DIC, $ilDB, $res, and ilDBConstants\FETCHMODE_OBJECT.
Referenced by ilCalendarRemoteAccessHandler\initTokenHandler().
Here is the caller graph for this function:
|
protected |
Definition at line 175 of file class.ilCalendarAuthenticationToken.php.
References $res, ILIAS\UI\examples\Symbol\Glyph\Calendar\calendar(), ilDBConstants\FETCHMODE_OBJECT, getToken(), getUserId(), and ILIAS\Repository\int().
Referenced by __construct().
Here is the call graph for this function:
Here is the caller graph for this function:| ilCalendarAuthenticationToken::setCalendar | ( | int | $a_cal | ) |
Definition at line 100 of file class.ilCalendarAuthenticationToken.php.
References ILIAS\UI\examples\Symbol\Glyph\Calendar\calendar().
Here is the call graph for this function:| ilCalendarAuthenticationToken::setIcal | ( | string | $ical | ) |
Definition at line 110 of file class.ilCalendarAuthenticationToken.php.
References $ical.
| ilCalendarAuthenticationToken::setSelectionType | ( | int | $a_type | ) |
Definition at line 95 of file class.ilCalendarAuthenticationToken.php.
| ilCalendarAuthenticationToken::storeIcal | ( | ) |
Definition at line 125 of file class.ilCalendarAuthenticationToken.php.
References getIcal(), getToken(), and getUserId().
Here is the call graph for this function:
|
private |
Definition at line 37 of file class.ilCalendarAuthenticationToken.php.
Referenced by getCalendar().
|
protected |
Definition at line 42 of file class.ilCalendarAuthenticationToken.php.
|
private |
Definition at line 39 of file class.ilCalendarAuthenticationToken.php.
|
private |
Definition at line 40 of file class.ilCalendarAuthenticationToken.php.
|
private |
Definition at line 36 of file class.ilCalendarAuthenticationToken.php.
Referenced by getSelectionType().
|
private |
Definition at line 35 of file class.ilCalendarAuthenticationToken.php.
Referenced by getToken().
|
private |
Definition at line 33 of file class.ilCalendarAuthenticationToken.php.
Referenced by getUserId().
| const ilCalendarAuthenticationToken::SELECTION_CALENDAR = 3 |
Definition at line 31 of file class.ilCalendarAuthenticationToken.php.
Referenced by ilCalendarSubscriptionGUI\getModalForSubscription(), ilCalendarRemoteAccessHandler\handleRequest(), and ilCalendarSubscriptionGUI\show().
| const ilCalendarAuthenticationToken::SELECTION_CATEGORY = 2 |
Definition at line 30 of file class.ilCalendarAuthenticationToken.php.
| const ilCalendarAuthenticationToken::SELECTION_NONE = 0 |
Definition at line 28 of file class.ilCalendarAuthenticationToken.php.
| const ilCalendarAuthenticationToken::SELECTION_PD = 1 |
Definition at line 29 of file class.ilCalendarAuthenticationToken.php.
Referenced by ilCalendarSubscriptionGUI\getModalForSubscription(), and ilCalendarSubscriptionGUI\show().