Definition at line 21 of file class.ilICalWriter.php.
◆ __construct()
ilICalWriter::__construct |
( |
| ) |
|
◆ __toString()
ilICalWriter::__toString |
( |
| ) |
|
◆ addLine()
ilICalWriter::addLine |
( |
string |
$a_line | ) |
|
Definition at line 60 of file class.ilICalWriter.php.
References ilStr\strLen(), and ilStr\subStr().
71 for ($i = 0; $i < count($chunks); $i++) {
72 $line = ($i > 0) ? self::BEGIN_LINE_WHITESPACE : self::EMPTY;
74 $line .= (isset($chunks[$i + 1]) || ($i + 1) === count($chunks)) ? self::LINEBREAK : self::EMPTY;
75 $this->lines[] = $line;
static subStr(string $a_str, int $a_start, ?int $a_length=null)
static strLen(string $a_string)
◆ append()
◆ byteCount()
ilICalWriter::byteCount |
( |
| ) |
|
◆ clear()
◆ escapeText()
static ilICalWriter::escapeText |
( |
string |
$a_text | ) |
|
|
static |
◆ $lines
array ilICalWriter::$lines |
|
protected |
◆ 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: