ILIAS
release_4-3 Revision
|
Reader for remote ical calendars. More...
Public Member Functions | |
__construct ($a_url) | |
Constructor init curl. | |
setUser ($a_user) | |
setPass ($a_pass) | |
getType () | |
getUrl () | |
read () | |
Read ical format. | |
import (ilCalendarCategory $cat) | |
Import appointments in calendar. |
Data Fields | |
const | TYPE_ICAL = 1 |
Protected Member Functions | |
readIcal () | |
Read ical. | |
importIcal (ilCalendarCategory $cat) | |
Import ical in calendar. | |
initCurl () | |
Init curl connection. | |
replaceWebCalProtocol () |
Private Member Functions | |
call () | |
call peer |
Private Attributes | |
$type = self::TYPE_ICAL | |
$curl = null | |
$url | |
$user | |
$pass | |
$ical |
Reader for remote ical calendars.
Definition at line 14 of file class.ilCalendarRemoteReader.php.
ilCalendarRemoteReader::__construct | ( | $a_url | ) |
Constructor init curl.
Definition at line 35 of file class.ilCalendarRemoteReader.php.
|
private |
call peer
private
ilCurlConnectionException |
Definition at line 170 of file class.ilCalendarRemoteReader.php.
References $res.
Referenced by readIcal().
ilCalendarRemoteReader::getType | ( | ) |
Definition at line 50 of file class.ilCalendarRemoteReader.php.
References $type.
Referenced by import(), and read().
ilCalendarRemoteReader::getUrl | ( | ) |
Definition at line 55 of file class.ilCalendarRemoteReader.php.
References $url.
Referenced by initCurl(), and replaceWebCalProtocol().
ilCalendarRemoteReader::import | ( | ilCalendarCategory | $cat | ) |
Import appointments in calendar.
Definition at line 81 of file class.ilCalendarRemoteReader.php.
References getType(), and importIcal().
|
protected |
Import ical in calendar.
ilCalendarCategory | $cat |
Definition at line 106 of file class.ilCalendarRemoteReader.php.
References ilCalendarEntry\_delete(), ilCalendarCategoryAssignments\_deleteByCategoryId(), ilCalendarCategoryAssignments\_getAssignedAppointments(), ilCalendarCategory\getCategoryID(), and ilICalParser\INPUT_STRING.
Referenced by import().
|
protected |
Init curl connection.
Definition at line 127 of file class.ilCalendarRemoteReader.php.
References getUrl(), and replaceWebCalProtocol().
Referenced by read().
ilCalendarRemoteReader::read | ( | ) |
Read ical format.
sonething |
Definition at line 66 of file class.ilCalendarRemoteReader.php.
References getType(), initCurl(), and readIcal().
|
protected |
Read ical.
ilCurlConnectionException |
Definition at line 95 of file class.ilCalendarRemoteReader.php.
References $GLOBALS, and call().
Referenced by read().
|
protected |
Definition at line 154 of file class.ilCalendarRemoteReader.php.
References $GLOBALS, and getUrl().
Referenced by initCurl().
ilCalendarRemoteReader::setPass | ( | $a_pass | ) |
Definition at line 45 of file class.ilCalendarRemoteReader.php.
ilCalendarRemoteReader::setUser | ( | $a_user | ) |
Definition at line 40 of file class.ilCalendarRemoteReader.php.
Referenced by ilCalendarCategoryGUI\doSynchronisation(), and ilCalendarPresentationGUI\synchroniseExternalCalendars().
|
private |
Definition at line 22 of file class.ilCalendarRemoteReader.php.
|
private |
Definition at line 28 of file class.ilCalendarRemoteReader.php.
|
private |
Definition at line 26 of file class.ilCalendarRemoteReader.php.
|
private |
Definition at line 20 of file class.ilCalendarRemoteReader.php.
Referenced by getType().
|
private |
Definition at line 24 of file class.ilCalendarRemoteReader.php.
Referenced by getUrl().
|
private |
Definition at line 25 of file class.ilCalendarRemoteReader.php.
const ilCalendarRemoteReader::TYPE_ICAL = 1 |
Definition at line 17 of file class.ilCalendarRemoteReader.php.