|
ILIAS
Release_3_10_x_branch Revision 61812
|
Collaboration diagram for ilICalParser: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.
|
protected |
pop la
protected
Definition at line 152 of file class.ilICalParser.php.
Referenced by parseLine(), and storeItems().
Here is the caller graph for this function:
|
protected |
get container
protected
Definition at line 131 of file class.ilICalParser.php.
Referenced by parseLine(), storeItems(), and writeEvent().
Here is the caller graph for this function:
|
protected |
get timezone
protected
Definition at line 356 of file class.ilICalParser.php.
References $default_timezone, and ilTimeZone\_getInstance().
Referenced by parseLine(), and writeEvent().
Here is the call graph for this function:
Here is the caller graph for this function:| 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().
Here is the call graph for this function:
|
protected |
parse a line
protected
Definition at line 174 of file class.ilICalParser.php.
References $container, dropContainer(), getContainer(), getTZ(), pushContainer(), setContainer(), splitLine(), storeItems(), and writeEvent().
Referenced by parse().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
purge string
protected
Definition at line 610 of file class.ilICalParser.php.
References ilUtil\stripSlashes().
Referenced by writeEvent().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
push container
protected
| ilICalItem |
Definition at line 163 of file class.ilICalParser.php.
Referenced by parseLine(), and storeItems().
Here is the caller graph for this function:
|
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().
Here is the caller graph for this function:
|
protected |
parse parameters
protected
| string | a line |
Definition at line 325 of file class.ilICalParser.php.
Referenced by parseLine().
Here is the caller graph for this function:
|
protected |
store items
protected
Definition at line 234 of file class.ilICalParser.php.
References dropContainer(), getContainer(), and pushContainer().
Referenced by parseLine().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Switch timezone.
protected
Definition at line 396 of file class.ilICalParser.php.
References ilTimeZone\switchTZ().
Here is the call graph for this function:
|
protected |
tokenize string
protected
Definition at line 346 of file class.ilICalParser.php.
Referenced by parse().
Here is the caller graph for this function:
|
protected |
write a new event
protected
Definition at line 424 of file class.ilICalParser.php.
References $default_timezone, ilCalendarCategoryAssignments\addAssignment(), getContainer(), getTZ(), IL_CAL_DATE, IL_CAL_DATETIME, and purgeString().
Referenced by parseLine().
Here is the call graph for this function:
Here is the caller graph for this function:
|
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.