symfony API

sfRichTextEditor Functions

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to API menu

1.2 API OpenSearch

Packages

You are currently browsing the symfony API for the 1.2 version. Switch to:
This version of symfony is not maintained anymore.
If some of your projects still use this version, consider upgrading as soon as possible.

sfRichTextEditor is an abstract class for rich text editor classes.

Inheritence

sfRichTextEditorFCK, sfRichTextEditorTinyMCE  <  sfRichTextEditor

Function Summary

  • initialize($name, $content, $options = array())
    Initializes this rich text editor.
  • string toHTML()
    Returns the rich text editor as HTML.

Function Details

  • initialize ($name, $content, $options = array()) Browse code

    $name The tag name
    $content The rich text editor content
    $options An array of options

    Initializes this rich text editor.

  • (string) toHTML () Browse code

    Returns the rich text editor as HTML.

    returns Rich text editor HTML representation