AbstractParser
This class is the basis of all the formatting processings that exist in PHPBoost.
- AbstractParser implements FormattingParser
Direct known subclasses
BBCodeHighlighter, ContentFormattingParser, ContentFormattingUnparser, ContentSecondParser, PlainCodeHighlighter, TemplateHighlighter
public
|
|
public
string
|
#
get_content( )
Returns the content of the parser. If you called a method which parses the content, this content will be parsed. |
public
|
#
set_content( string $content )
Sets the content of the parser. When you will call a parse method, it will deal with this content. |
public
|
|
public
string
|
|
public
|
|
public
string
|
|
public
|
|
public
|
|
protected
|
parse()
|
protected
string
|
$content
Content of the parser |
#
''
|
protected
string[]
|
$array_tags
List of the tags which have been picked up by the parser |
#
array()
|
protected
string
|
$path_to_root
Path to root of the page in which has been written the content to parse. |
#
PATH_TO_ROOT
|
protected
string
|
$page_path
Path of the page in which has been written the content to parse. |
#
''
|
protected
string[]
|
$module_special_tags
List of the tags to add from a module. Allows to add a tag [link] from pages or wiki from example |
#
array()
|