Свойство | Тип | Описание | |
---|---|---|---|
$type | string | MIME type. |
Свойство | Тип | Описание | |
---|---|---|---|
$_content | string | RTF content. | |
$_size | integer | Size of RTF content. |
Метод | Описание | |
---|---|---|
__construct ( $logger, $data ) | ||
__get ( $property ) | ||
toArray ( ) : array | Output the data for this object in an array. | |
toPlain ( ) : string | Obtain a good-enough-for-our-needs plain text representation of the RTF document. |
Метод | Описание | |
---|---|---|
_decode ( ) | ||
_decompress ( ) : string | Decompress compressed RTF. Logic taken and adapted from NasMail RTF plugin. | |
_rtf2text ( string $text ) : string | Parse RTF data and return the best plaintext representation we can. | |
_rtfIsPlain ( $s ) |
protected _decompress ( ) : string | ||
Результат | string |