PHPRtfLite::getInfoPart PHP Méthode

getInfoPart() protected méthode

gets rtf info part
protected getInfoPart ( ) : string
Résultat string
    protected function getInfoPart()
    {
        $part = '{\\info' . "\r\n";
        foreach ($this->_properties as $key => $value) {
            $value = PHPRtfLite_Utf8::getUnicodeEntities($value, $this->_charset);
            $part .= '{\\' . $key . ' ' . $value . '}' . "\r\n";
        }
        $part .= '}' . "\r\n";
        return $part;
    }