Definition at line 24 of file class.ilICalWriter.php.
◆ __construct()
ilICalWriter::__construct |
( |
| ) |
|
◆ __toString()
ilICalWriter::__toString |
( |
| ) |
|
◆ addLine()
ilICalWriter::addLine |
( |
string |
$a_line | ) |
|
Definition at line 61 of file class.ilICalWriter.php.
References $i, ilStr\strLen(), and ilStr\subStr().
65 include_once
'./Services/Utilities/classes/class.ilStr.php';
76 for (
$i = 0;
$i < count($chunks);
$i++) {
77 $line = (
$i > 0) ? self::BEGIN_LINE_WHITESPACE : self::EMPTY;
79 $line .= (isset($chunks[
$i + 1]) || (
$i + 1) === count($chunks)) ? self::LINEBREAK : self::EMPTY;
80 $this->lines[] = $line;
static subStr($a_str, $a_start, $a_length=null)
◆ append()
◆ byteCount()
ilICalWriter::byteCount |
( |
| ) |
|
◆ clear()
◆ escapeText()
static ilICalWriter::escapeText |
( |
|
$a_text | ) |
|
|
static |
◆ $lines
◆ BEGIN_LINE_WHITESPACE
const ilICalWriter::BEGIN_LINE_WHITESPACE = ' ' |
|
protected |
◆ EMPTY
const ilICalWriter::EMPTY = '' |
|
protected |
◆ LINE_SIZE
const ilICalWriter::LINE_SIZE = 74 |
|
protected |
◆ LINEBREAK
const ilICalWriter::LINEBREAK = "\r\n" |
|
protected |
The documentation for this class was generated from the following file: