Package Content\Formatting\parser

Package Content\Formatting\parser

Classes summary
AbstractParser This class is the basis of all the formatting processings that exist in PHPBoost.
BBCodeHighlighter

This class is a highlighter for the PHPBoost BBCode language. It supplies the highlighted code written in XHTML.

ContentFormattingParser This class is abstract. It contains tools that are usefull for implement a content parser.
ContentFormattingUnparser This class is an abstract class. It contains the common elements needed by all the unparsers of PHPBoost.
ContentSecondParser

This class ensures the real time processing of the content. The major part of the processing is saved in the database to minimize as much as possible the treatment when the content is displayed. However, some tags cannot be cached, because we cannot have return to the original code. It's for instance the case of the code tag which replaces the code by a lot of html code which formats the code. This kind of tag is treated in real time by this class. The content you put in that parser must come from a ContentFormattingParser class (BBCodeParser or TinyMCEParser) (it can have been saved in a database between the first parsing and the real time parsing).

PlainCodeHighlighter

This is a manual syntax highlighter for plain code with the [highlight] tag to choose what to highlight.

TemplateHighlighter This is a syntax highlighter for the PHPBoost template syntax.
Interfaces summary
FormattingParser
Annonces