ILIAS
release_8 Revision v8.19
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Public Member Functions | |
__construct (string $a_url) | |
setUser (string $a_user) | |
setPass (string $a_pass) | |
getType () | |
getUrl () | |
read () | |
import (ilCalendarCategory $cat) | |
Protected Member Functions | |
readIcal () | |
importIcal (ilCalendarCategory $cat) | |
initCurl () | |
replaceWebCalProtocol () | |
Protected Attributes | |
const | TYPE_ICAL = 1 |
Private Member Functions | |
call () | |
Private Attributes | |
int | $type = self::TYPE_ICAL |
ilCurlConnection | $curl = null |
string | $url = '' |
string | $user = '' |
string | $pass = '' |
string | $ical = '' |
ilLogger | $logger |
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.
ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.
If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning Reader for remote ical calendars
Definition at line 26 of file class.ilCalendarRemoteReader.php.
ilCalendarRemoteReader::__construct | ( | string | $a_url | ) |
Definition at line 42 of file class.ilCalendarRemoteReader.php.
References $DIC, and ILIAS\Repository\logger().
|
private |
ilCurlConnectionException |
Definition at line 148 of file class.ilCalendarRemoteReader.php.
Referenced by readIcal().
ilCalendarRemoteReader::getType | ( | ) |
Definition at line 60 of file class.ilCalendarRemoteReader.php.
References $type.
Referenced by import(), and read().
ilCalendarRemoteReader::getUrl | ( | ) |
Definition at line 65 of file class.ilCalendarRemoteReader.php.
References $url.
Referenced by initCurl(), and replaceWebCalProtocol().
ilCalendarRemoteReader::import | ( | ilCalendarCategory | $cat | ) |
Definition at line 81 of file class.ilCalendarRemoteReader.php.
References getType(), and importIcal().
|
protected |
Definition at line 96 of file class.ilCalendarRemoteReader.php.
References ilCalendarEntry\_delete(), ilCalendarCategoryAssignments\_deleteByCategoryId(), ilCalendarCategoryAssignments\_getAssignedAppointments(), ilCalendarCategory\getCategoryID(), and ilICalParser\INPUT_STRING.
Referenced by import().
|
protected |
ilCurlConnectionException |
Definition at line 113 of file class.ilCalendarRemoteReader.php.
References Vendor\Package\$e, getUrl(), replaceWebCalProtocol(), and ILIAS\Repository\user().
Referenced by read().
ilCalendarRemoteReader::read | ( | ) |
Definition at line 70 of file class.ilCalendarRemoteReader.php.
References getType(), initCurl(), and readIcal().
|
protected |
Definition at line 90 of file class.ilCalendarRemoteReader.php.
References call(), and ILIAS\Repository\logger().
Referenced by read().
|
protected |
Definition at line 137 of file class.ilCalendarRemoteReader.php.
References getUrl().
Referenced by initCurl().
ilCalendarRemoteReader::setPass | ( | string | $a_pass | ) |
Definition at line 55 of file class.ilCalendarRemoteReader.php.
ilCalendarRemoteReader::setUser | ( | string | $a_user | ) |
Definition at line 50 of file class.ilCalendarRemoteReader.php.
References ILIAS\Repository\user().
Referenced by ilCalendarCategoryGUI\doSynchronisation(), and ilCalendarCronRemoteReader\run().
|
private |
Definition at line 32 of file class.ilCalendarRemoteReader.php.
|
private |
Definition at line 38 of file class.ilCalendarRemoteReader.php.
|
private |
Definition at line 40 of file class.ilCalendarRemoteReader.php.
|
private |
Definition at line 36 of file class.ilCalendarRemoteReader.php.
|
private |
Definition at line 31 of file class.ilCalendarRemoteReader.php.
Referenced by getType().
|
private |
Definition at line 34 of file class.ilCalendarRemoteReader.php.
Referenced by getUrl().
|
private |
Definition at line 35 of file class.ilCalendarRemoteReader.php.
|
protected |
Definition at line 28 of file class.ilCalendarRemoteReader.php.