Class

ContentFormattingParser

Abstract Package: content Author: Benoît Sautel <ben.popeye@phpboost.com> Desc: This class is abstract. It contains tools that are usefull for implement a content parser. Located at content/formatting/parser/ContentFormattingParser.class.php
AbstractParser implements FormattingParser
Extended by ContentFormattingParser
Methods summary
public
# __construct( )
public
# parse( )
public
# set_forbidden_tags( array $forbidden_tags )
public string[]
# get_forbidden_tags( )
public
# set_html_auth( array $array_auth )
public mixed[]
# get_html_auth( )
protected
# split_imbricated_tag( string & $content, string $tag, string $attributes )
protected static string[]
# preg_split_safe_recurse( mixed $content, mixed $tag, mixed $attributes )
protected
# pick_up_tag( mixed $tag, mixed $arguments = '' )
protected boolean
# reimplant_tag( mixed $tag )
protected
Methods inherited from AbstractParser
_parse_imbricated(), add_module_special_tag(), get_content(), get_module_special_tags(), get_page_path(), get_path_to_root(), set_content(), set_page_path(), set_path_to_root()
Constants inherited from AbstractParser
PICK_UP, REIMPLANT
Properties summary
protected string[] $html_auth array()
#

Authorization of the HTML BBCode tag.

protected string[] $forbidden_tags array()
#

List of the BBCode forbidden tags

Properties inherited from AbstractParser
$array_tags, $content, $module_special_tags, $page_path, $path_to_root