Summary
- File
- Package hierarchy Helper
- Class hierarchy \FormatingHelper
Formating helper
Formating helper
strparse(string $content, array<mixed,string> $forbidden_tags = array(), boolean $addslashes = true) : string
Parses a string with several default parameters. This methods exists to lighten the number of lines written.
string | $content | Content to parse |
array<mixed,string> | $forbidden_tags | List of the forbidden formatting tags |
boolean | $addslashes | if true, the parsed string will be escaped. |
The parsed string.
None found |
unparse(string $content) : string
Unparses a string with several default parameters. This methods exists to lighten the number of lines written.
string | $content | Content to unparse |
The unparsed string.
None found |
second_parse(string $content) : string
Second parses a string with several default parameters. This methods exists to lighten the number of lines written.
string | $content | Content to second parse |
The second parsed string.
None found |
second_parse_url(string $url) : string
Second parses relative urls to absolute urls.
string | $url | Url to second parse |
The second parsed url.
None found |