Package: Content\Formatting\parser Copyright: © 2005-2019 PHPBoost License: GNU/GPL-3.0 Author: Benoit SAUTEL Version: PHPBoost 5.2 - last update: 2018 12 06 Since: PHPBoost 2.0 - 2008 08 10 Contributor: Julien BRISWALTER Contributor: Arnaud GENET Contributor: mipel Contributor: janus57 Contributor: Sebastien LARTIGUE Contributor: xela Located at: content/formatting/parser/ContentSecondParser.class.php

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).

AbstractParser implements FormattingParser
Extended by ContentSecondParser
Methods summary
# __construct( )

Builds a ContentSecondParser object

# parse( )

Parses the content of the parser. The result will be ready to be displayed.

public static string
# export_html_text( string $html_content )

Transforms a PHPBoost HTML content to make it exportable and usable every where in the web.

Constants summary

Maximal number of characters that can be inserted in the [code] tag. After that, GeSHi has many difficulties to highligth and has the PHP execution stop (error 500).

# 40000
Constants inherited from AbstractParser