24 include_once
'./Services/Calendar/classes/class.ilCalendarAuthenticationToken.php';
57 if(
$_GET[
'client_id'])
83 include_once
'./Services/Calendar/classes/Export/class.ilCalendarExport.php';
84 include_once
'./Services/Calendar/classes/class.ilCalendarCategories.php';
87 #$export = new ilCalendarExport(array($this->getTokenHandler()->getCalendar()));
106 #echo $export->getExportString();
107 #echo nl2br($export->getExportString());
109 #$fp = fopen('ilias.ics', 'w');
110 #fwrite($fp,$export->getExportString());
125 include_once
"Services/Context/classes/class.ilContext.php";
128 include_once
'./Services/Authentication/classes/class.ilAuthFactory.php';
131 $_POST[
'username'] =
'cal_auth_token';
132 $_POST[
'password'] =
'cal_auth_token';
134 require_once(
"Services/Init/classes/class.ilInitialisation.php");
137 $GLOBALS[
'lng']->loadLanguageModule(
'dateplaner');