ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
|
Public Member Functions | |
__construct ($a_ical, $a_type) | |
Constructor. More... | |
setCategoryId ($a_id) | |
set category id More... | |
parse () | |
Parse input. More... | |
Data Fields | |
const | INPUT_STRING = 1 |
const | INPUT_FILE = 2 |
Protected Member Functions | |
getContainer () | |
get container More... | |
setContainer ($a_container) | |
set container More... | |
dropContainer () | |
pop la More... | |
pushContainer ($a_container) | |
push container More... | |
parseLine ($line) | |
parse a line More... | |
storeItems ($a_param_part, $a_value_part) | |
store items More... | |
splitLine ($a_line) | |
parse parameters More... | |
tokenize ($a_string, $a_tokenizer) | |
tokenize string More... | |
getTZ ($a_timezone) | |
get timezone More... | |
switchTZ (ilTimeZone $timezone) | |
Switch timezone. More... | |
restoreTZ () | |
restore time More... | |
writeEvent () | |
write a new event More... | |
purgeString ($a_string) | |
purge string More... | |
Protected Attributes | |
$log = null | |
$category = null | |
$ical = '' | |
$file = '' | |
$default_timezone = null | |
$container = array() | |
ilICalParser::__construct | ( | $a_ical, | |
$a_type | |||
) |
Constructor.
public
string | ical string |
ilICalParserException |
Definition at line 72 of file class.ilICalParser.php.
References $a_type, and $GLOBALS.
|
protected |
pop la
protected
Definition at line 162 of file class.ilICalParser.php.
Referenced by parseLine(), and storeItems().
|
protected |
get container
protected
Definition at line 141 of file class.ilICalParser.php.
Referenced by parseLine(), storeItems(), and writeEvent().
|
protected |
get timezone
protected
Definition at line 353 of file class.ilICalParser.php.
References $default_timezone, $tz, and ilTimeZone\_getInstance().
Referenced by parseLine(), and writeEvent().
ilICalParser::parse | ( | ) |
Parse input.
public
Definition at line 107 of file class.ilICalParser.php.
References $i, ilTimeZone\_getInstance(), ilICalUtils\ICAL_EOL, ilICalUtils\ICAL_EOL_FB, ilICalUtils\ICAL_SPACE, ilICalUtils\ICAL_TAB, parseLine(), and tokenize().
|
protected |
parse a line
protected
Definition at line 184 of file class.ilICalParser.php.
References $container, PHPMailer\PHPMailer\$params, $values, dropContainer(), getContainer(), getTZ(), pushContainer(), setContainer(), splitLine(), storeItems(), and writeEvent().
Referenced by parse().
|
protected |
purge string
protected
Definition at line 588 of file class.ilICalParser.php.
References ilUtil\stripSlashes().
Referenced by writeEvent().
|
protected |
push container
protected
ilICalItem |
Definition at line 173 of file class.ilICalParser.php.
Referenced by parseLine(), and storeItems().
|
protected |
ilICalParser::setCategoryId | ( | $a_id | ) |
set category id
public
int | category id |
Definition at line 95 of file class.ilICalParser.php.
|
protected |
set container
protected
ilICalItem |
Definition at line 152 of file class.ilICalParser.php.
Referenced by parseLine().
|
protected |
parse parameters
protected
string | a line |
Definition at line 325 of file class.ilICalParser.php.
Referenced by parseLine().
|
protected |
store items
protected
Definition at line 245 of file class.ilICalParser.php.
References $values, dropContainer(), getContainer(), and pushContainer().
Referenced by parseLine().
|
protected |
Switch timezone.
protected
Definition at line 383 of file class.ilICalParser.php.
References ilTimeZone\switchTZ().
|
protected |
tokenize string
protected
Definition at line 343 of file class.ilICalParser.php.
Referenced by parse().
|
protected |
write a new event
protected
Definition at line 408 of file class.ilICalParser.php.
References $default_timezone, $end, $start, $type, ilCalendarCategoryAssignments\addAssignment(), getContainer(), getTZ(), IL_CAL_DATE, IL_CAL_DATETIME, IL_CAL_DAY, ilDateTime\increment(), ilCalendarCategory\LTYPE_REMOTE, and purgeString().
Referenced by parseLine().
|
protected |
Definition at line 55 of file class.ilICalParser.php.
|
protected |
Definition at line 61 of file class.ilICalParser.php.
Referenced by parseLine().
|
protected |
Definition at line 59 of file class.ilICalParser.php.
Referenced by getTZ(), and writeEvent().
|
protected |
Definition at line 58 of file class.ilICalParser.php.
|
protected |
Definition at line 57 of file class.ilICalParser.php.
|
protected |
Definition at line 53 of file class.ilICalParser.php.
const ilICalParser::INPUT_FILE = 2 |
Definition at line 48 of file class.ilICalParser.php.
Referenced by ilCalendarCategoryGUI\doImportFile().
const ilICalParser::INPUT_STRING = 1 |
Definition at line 47 of file class.ilICalParser.php.
Referenced by ilCalendarRemoteReader\importIcal().