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).
- AbstractParser implements FormattingParser
- ContentSecondParser
public
|
|
public
|
|
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. |
integer |
MAX_CODE_LENGTH
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
|
PICK_UP,
REIMPLANT
|
$array_tags,
$content,
$module_special_tags,
$page_path,
$path_to_root
|