Methods summary
public static
string
|
#
strparse( string $content, string[] $forbidden_tags = array(), boolean $addslashes = true )
Parses a string with several default parameters. This methods exists to lighten the number of lines written.
Parses a string with several default parameters. This methods exists to lighten the number of lines written.
Parameters
- $content
- Content to parse
- $forbidden_tags
- List of the forbidden formatting tags
- $addslashes
- if true, the parsed string will be escaped.
Returns
string The parsed string.
|
public static
string
|
#
unparse( string $content )
Unparses a string with several default parameters. This methods exists to lighten the number of lines written.
Unparses a string with several default parameters. This methods exists to lighten the number of lines written.
Parameters
- $content
- Content to unparse
Returns
string The unparsed string.
See
|
public static
string
|
#
second_parse( string $content )
Second parses a string with several default parameters. This methods exists to lighten the number of lines written.
Second parses a string with several default parameters. This methods exists to lighten the number of lines written.
Parameters
- $content
- Content to second parse
Returns
string The second parsed string.
See
|
public static
string
|
#
second_parse_url( string $url )
Second parses relative urls to absolute urls.
Second parses relative urls to absolute urls.
Parameters
Returns
string The second parsed url.
See
|