ILIAS
release_4-3 Revision
|
Public Member Functions | |
__construct ($a_ical, $a_type) | |
Constructor. | |
setCategoryId ($a_id) | |
set category id | |
parse () | |
Parse input. |
Data Fields | |
const | INPUT_STRING = 1 |
const | INPUT_FILE = 2 |
Protected Member Functions | |
getContainer () | |
get container | |
setContainer ($a_container) | |
set container | |
dropContainer () | |
pop la | |
pushContainer ($a_container) | |
push container | |
parseLine ($line) | |
parse a line | |
storeItems ($a_param_part, $a_value_part) | |
store items | |
splitLine ($a_line) | |
parse parameters | |
tokenize ($a_string, $a_tokenizer) | |
tokenize string | |
getTZ ($a_timezone) | |
get timezone | |
switchTZ (ilTimeZone $timezone) | |
Switch timezone. | |
restoreTZ () | |
restore time | |
writeEvent () | |
write a new event | |
purgeString ($a_string) | |
purge string |
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 69 of file class.ilICalParser.php.
References $GLOBALS, and $ilLog.
|
protected |
pop la
protected
Definition at line 168 of file class.ilICalParser.php.
Referenced by parseLine(), and storeItems().
|
protected |
get container
protected
Definition at line 147 of file class.ilICalParser.php.
Referenced by parseLine(), storeItems(), and writeEvent().
|
protected |
get timezone
protected
Definition at line 386 of file class.ilICalParser.php.
References $default_timezone, and ilTimeZone\_getInstance().
Referenced by parseLine(), and writeEvent().
ilICalParser::parse | ( | ) |
Parse input.
public
Definition at line 110 of file class.ilICalParser.php.
References 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 190 of file class.ilICalParser.php.
References $container, dropContainer(), getContainer(), getTZ(), pushContainer(), setContainer(), splitLine(), storeItems(), and writeEvent().
Referenced by parse().
|
protected |
purge string
protected
Definition at line 645 of file class.ilICalParser.php.
References ilUtil\stripSlashes().
Referenced by writeEvent().
|
protected |
push container
protected
ilICalItem |
Definition at line 179 of file class.ilICalParser.php.
Referenced by parseLine(), and storeItems().
|
protected |
restore time
protected
Definition at line 444 of file class.ilICalParser.php.
ilICalParser::setCategoryId | ( | $a_id | ) |
set category id
public
int | category id |
Definition at line 98 of file class.ilICalParser.php.
|
protected |
set container
protected
ilICalItem |
Definition at line 158 of file class.ilICalParser.php.
Referenced by parseLine().
|
protected |
parse parameters
protected
string | a line |
Definition at line 355 of file class.ilICalParser.php.
Referenced by parseLine().
|
protected |
store items
protected
Definition at line 258 of file class.ilICalParser.php.
References dropContainer(), getContainer(), and pushContainer().
Referenced by parseLine().
|
protected |
Switch timezone.
protected
Definition at line 426 of file class.ilICalParser.php.
References ilTimeZone\switchTZ().
|
protected |
tokenize string
protected
Definition at line 376 of file class.ilICalParser.php.
Referenced by parse().
|
protected |
write a new event
protected
Definition at line 454 of file class.ilICalParser.php.
References $default_timezone, 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 52 of file class.ilICalParser.php.
|
protected |
Definition at line 58 of file class.ilICalParser.php.
Referenced by parseLine().
|
protected |
Definition at line 56 of file class.ilICalParser.php.
Referenced by getTZ(), and writeEvent().
|
protected |
Definition at line 55 of file class.ilICalParser.php.
|
protected |
Definition at line 54 of file class.ilICalParser.php.
|
protected |
Definition at line 50 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().