lib/PHPRtfLite/FormField/Dropdown.php
public function getRtfCode()
    {
        $content = '{\fftype2\ffres25\fftypetxt0\ffhaslistbox\ffdefres0';
        foreach ($this->_items as $text) {
            $text = PHPRtfLite_Utf8::getUnicodeEntities($text, $this->_rtf->getCharset());
            $content .= '{\*\ffl ' . $text . '}';
        }
        $content .= '}';
        return $content;
    }
public function getRtfCode()
    {
        $content = '{\fftype2\ffres25\fftypetxt0\ffhaslistbox\ffdefres0';
        foreach ($this->_items as $text) {
            $text = PHPRtfLite_Utf8::getUnicodeEntities($text, $this->_rtf->getCharset());
            $content .= '{\*\ffl ' . $text . '}';
        }
        $content .= '}';
        return $content;
    }
public function getRtfCode ( ) { $ content = '{\fftype2\ffres25\fftypetxt0\ffhaslistbox\ffdefres0' ; foreach ( $ this -> _items as $ text ) { $ text = PHPRtfLite_Utf8 :: getUnicodeEntities ( $ text , $ this -> _rtf -> getCharset ( ) ) ; $ content .= '{\*\ffl ' . $ text . '}' ; } $ content .= '}' ; return $ content ; }
gets rtf code for dropdown form field

@return string
gets rtf code for dropdown form field