4include_once 
'./Services/Calendar/classes/class.ilCalendarCategory.php';
 
   25        $this->cal_id = $a_calendar_id;
 
   26        $this->ref_id = $a_ref_id;
 
   27        $this->
user = $DIC->user();
 
   28        $this->lng = 
$DIC->language();
 
   29        $this->tpl = 
$DIC[
"tpl"];
 
   31        include_once 
'./Services/Calendar/classes/class.ilCalendarCategory.php';
 
   41        $next_class = 
$ilCtrl->getNextClass($this);
 
   42        switch ($next_class) {
 
   59        include_once 
'./Services/InfoScreen/classes/class.ilInfoScreenGUI.php';
 
   61        $info->setFormAction(
$GLOBALS[
'ilCtrl']->getFormAction($this));
 
   63        if ($this->cal_id > 0) {
 
   66        } elseif ($this->ref_id > 0) {
 
   69            $id = $category->getCategoryID();
 
   76        $url = ILIAS_HTTP_PATH . 
'/calendar.php?client_id=' . CLIENT_ID . 
'&token=' . $hash;
 
   77        $info->addSection($this->lng->txt(
"cal_subscription"));
 
   78        $info->addProperty($this->lng->txt(
'cal_ical_url'), 
$url, 
$url);
 
   80        $this->tpl->setContent(
$info->getHTML());
 
   88        include_once 
'./Services/Calendar/classes/class.ilCalendarAuthenticationToken.php';
 
   94        $token->setSelectionType($selection);
 
   95        $token->setCalendar(
$id);
 
An exception for terminatinating execution or to throw for unit testing.
Handles calendar authentication tokens for external calendar subscriptions.
static lookupAuthToken($a_user_id, $a_selection, $a_calendar=0)
static _getInstanceByObjId($a_obj_id)
get instance by obj_id
Show calendar subscription info.
createToken($user_id, $selection, $id)
Create calendar token.
executeCommand()
Execute command.
show()
Show subscription info.
__construct($a_calendar_id, $a_ref_id=0)
Constructor.
static _lookupObjId($a_id)
static sendInfo($a_info="", $a_keep=false)
Send Info Message to Screen.
if(!array_key_exists('StateId', $_REQUEST)) $id
$GLOBALS['loaded']
Global hash that tracks already loaded includes.