content
Packages
Interfaces
Classes
Files

Class: TinyMCEUnparser

Source Location: /content/parser/tinymce_unparser.class.php [line 41]

Class Overview

Parser
   |
   --ContentUnparser
      |
      --TinyMCEUnparser
This class enables to translate the content formatting from the PHPBoost standard one to the TinyMCE one. The PHPBoost one is historically the one corresponding to the BBCode translation in HTML and is now the reference. TinyMCE has a particular syntax and it must be respected if we want to make a formatting which can be edited after having beeing written, enough what using a WYSIWYG editor hasn't any advantage.

Author(s):

  • Benoit Sautel ben.popeye@phpboost.com


Class Details

This class enables to translate the content formatting from the PHPBoost standard one to the TinyMCE one. The PHPBoost one is historically the one corresponding to the BBCode translation in HTML and is now the reference. TinyMCE has a particular syntax and it must be respected if we want to make a formatting which can be edited after having beeing written, enough what using a WYSIWYG editor hasn't any advantage.

Tags:

  • author: Benoit Sautel ben.popeye@phpboost.com
  • see: the TinyMCEParser class which makes the reverse operation.
[ Top ] - [ Class Details ] - [ Methods ] - [ Variables ]


Class Methods

constructor TinyMCEUnparser [line 46]

TinyMCEUnparser TinyMCEUnparser( )
Builds a TinyMCEUnparser object
[ Top ] - [ Class Details ] - [ Methods ] - [ Variables ]

method parse [line 55]

void parse( )
Unparses the content of the parser. It goes from the PHPBoost reference formatting syntax to the TinyMCE one.
[ Top ] - [ Class Details ] - [ Methods ] - [ Variables ]


Inherited Methods

Class: ContentUnparser

ContentUnparser::ContentUnparser()
Builds a ContentUnparser class.

Class: Parser

Parser::Parser()
Builds a Parser object.
Parser::get_content()
Returns the content of the parser. If you called a method which parses the content, this content will be parsed.
Parser::get_page_path()
Returns the page path
Parser::get_path_to_root()
Returns the path to root attribute.
Parser::set_content()
Sets the content of the parser. When you will call a parse method, it will deal with this content.
Parser::set_page_path()
Sets the page path
Parser::set_path_to_root()
Sets the reference path for relative URL


Documentation generated on Tue, 28 Jul 2009 22:43:42 +0200 by phpDocumentor 1.4.1