|
ILIAS
release_7 Revision v7.30-3-g800a261c036
|
Collaboration diagram for ilICalParser: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.
@access public
| string | ical string |
| ilICalParserException |
Definition at line 72 of file class.ilICalParser.php.
References $GLOBALS.
|
protected |
pop la
@access protected
Definition at line 162 of file class.ilICalParser.php.
Referenced by parseLine(), and storeItems().
Here is the caller graph for this function:
|
protected |
get container
@access protected
Definition at line 141 of file class.ilICalParser.php.
Referenced by parseLine(), storeItems(), and writeEvent().
Here is the caller graph for this function:
|
protected |
get timezone
@access protected
Definition at line 353 of file class.ilICalParser.php.
References $default_timezone, Vendor\Package\$e, 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.
@access 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().
Here is the call graph for this function:
|
protected |
parse a line
@access protected
Definition at line 184 of file class.ilICalParser.php.
References $container, $param, 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
@access protected
Definition at line 588 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
@access protected
| ilICalItem |
Definition at line 173 of file class.ilICalParser.php.
Referenced by parseLine(), and storeItems().
Here is the caller graph for this function:
|
protected |
restore time
@access protected
Definition at line 398 of file class.ilICalParser.php.
| ilICalParser::setCategoryId | ( | $a_id | ) |
set category id
@access public
| int | category id |
Definition at line 95 of file class.ilICalParser.php.
|
protected |
set container
@access protected
| ilICalItem |
Definition at line 152 of file class.ilICalParser.php.
Referenced by parseLine().
Here is the caller graph for this function:
|
protected |
parse parameters
@access 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
@access protected
Definition at line 245 of file class.ilICalParser.php.
References $param, 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.
@access protected
Definition at line 383 of file class.ilICalParser.php.
References Vendor\Package\$e, and ilTimeZone\switchTZ().
Here is the call graph for this function:
|
protected |
tokenize string
@access protected
Definition at line 343 of file class.ilICalParser.php.
Referenced by parse().
Here is the caller graph for this function:
|
protected |
write a new event
@access protected
Definition at line 408 of file class.ilICalParser.php.
References $default_timezone, $param, $type, getContainer(), getTZ(), IL_CAL_DATE, IL_CAL_DATETIME, IL_CAL_DAY, ilCalendarCategory\LTYPE_REMOTE, 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 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().