Definition at line 24 of file class.ilICalWriter.php.
◆ __construct()
ilICalWriter::__construct |
( |
| ) |
|
◆ __toString()
ilICalWriter::__toString |
( |
| ) |
|
◆ addLine()
ilICalWriter::addLine |
( |
|
$a_line | ) |
|
Add a line to the ical string.
- Returns
- Parameters
-
Definition at line 63 of file class.ilICalWriter.php.
References $i, array, ilStr\strLen(), and ilStr\subStr().
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;
static subStr($a_str, $a_start, $a_length=null)
Create styles array
The data for the language used.
◆ escapeText()
static ilICalWriter::escapeText |
( |
|
$a_text | ) |
|
|
static |
◆ $ical
◆ BEGIN_LINE_WHITESPACE
const ilICalWriter::BEGIN_LINE_WHITESPACE = ' ' |
◆ LINE_SIZE
const ilICalWriter::LINE_SIZE = 74 |
◆ LINEBREAK
const ilICalWriter::LINEBREAK = "\r\n" |
The documentation for this class was generated from the following file: