ILIAS
Release_4_0_x_branch Revision 61816
|
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 |
Definition at line 65 of file class.ilICalParser.php.
References $ilLog, and elseif().
|
protected |
pop la
protected
Definition at line 152 of file class.ilICalParser.php.
Referenced by parseLine(), and storeItems().
|
protected |
get container
protected
Definition at line 131 of file class.ilICalParser.php.
Referenced by parseLine(), storeItems(), and writeEvent().
|
protected |
get timezone
protected
Definition at line 356 of file class.ilICalParser.php.
References $default_timezone, and ilTimeZone\_getInstance().
Referenced by parseLine(), and writeEvent().
ilICalParser::parse | ( | ) |
Parse input.
public
Definition at line 100 of file class.ilICalParser.php.
References ilTimeZone\_getInstance(), ilICalUtils\ICAL_EOL, ilICalUtils\ICAL_SPACE, ilICalUtils\ICAL_TAB, parseLine(), and tokenize().
|
protected |
parse a line
protected
Definition at line 174 of file class.ilICalParser.php.
References $container, $params, dropContainer(), getContainer(), getTZ(), pushContainer(), setContainer(), splitLine(), storeItems(), and writeEvent().
Referenced by parse().
|
protected |
purge string
protected
Definition at line 610 of file class.ilICalParser.php.
References ilUtil\stripSlashes().
Referenced by writeEvent().
|
protected |
push container
protected
ilICalItem |
Definition at line 163 of file class.ilICalParser.php.
Referenced by parseLine(), and storeItems().
|
protected |
restore time
protected
Definition at line 414 of file class.ilICalParser.php.
ilICalParser::setCategoryId | ( | $a_id | ) |
set category id
public
int | category id |
Definition at line 88 of file class.ilICalParser.php.
|
protected |
set container
protected
ilICalItem |
Definition at line 142 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 234 of file class.ilICalParser.php.
References $param, dropContainer(), getContainer(), and pushContainer().
Referenced by parseLine().
|
protected |
Switch timezone.
protected
Definition at line 396 of file class.ilICalParser.php.
References ilTimeZone\switchTZ().
|
protected |
tokenize string
protected
Definition at line 346 of file class.ilICalParser.php.
Referenced by parse().
|
protected |
write a new event
protected
Definition at line 424 of file class.ilICalParser.php.
References $default_timezone, $param, $start, $type, ilCalendarCategoryAssignments\addAssignment(), getContainer(), getTZ(), IL_CAL_DATE, IL_CAL_DATETIME, and purgeString().
Referenced by parseLine().
|
protected |
Definition at line 50 of file class.ilICalParser.php.
|
protected |
Definition at line 56 of file class.ilICalParser.php.
Referenced by parseLine().
|
protected |
Definition at line 54 of file class.ilICalParser.php.
Referenced by getTZ(), and writeEvent().
|
protected |
Definition at line 53 of file class.ilICalParser.php.
|
protected |
Definition at line 52 of file class.ilICalParser.php.
|
protected |
Definition at line 48 of file class.ilICalParser.php.
const ilICalParser::INPUT_FILE = 2 |
Definition at line 46 of file class.ilICalParser.php.
const ilICalParser::INPUT_STRING = 1 |
Definition at line 45 of file class.ilICalParser.php.