27 #const LINEBREAK = '<br />'; 41 $a_text = str_replace(
"\r\n",
'\\n', $a_text);
67 include_once
'./Services/Utilities/classes/class.ilStr.php';
78 for (
$i = 0;
$i < count($chunks);
$i++) {
79 $this->ical .= $chunks[
$i];
80 if (isset($chunks[
$i+1])) {
81 $this->ical .= self::LINEBREAK;
82 $this->ical .= self::BEGIN_LINE_WHITESPACE;
85 $this->ical .= self::LINEBREAK;
const BEGIN_LINE_WHITESPACE
__toString()
Return ical string.
static subStr($a_str, $a_start, $a_length=null)
addLine($a_line)
Add a line to the ical string.
Create styles array
The data for the language used.
static escapeText($a_text)