OutputFilter
class OutputFilter extends OutputFilter
OutputFilter
Methods
static
string
linkXHTMLSafe(
string $input)
This method processes a string and replaces all instances of & with & in links only.
static
string
stringJSSafe(
string $string)
This method processes a string and escapes it for use in JavaScript
static
string
stringURLSafe(
string $string,
string $language = '')
This method processes a string and replaces all accented UTF-8 characters by unaccented ASCII-7 "equivalents", whitespaces are replaced by hyphens and the string is lowercase.
static
string
ampReplaceCallback(
string $m)
Callback method for replacing & with & in a string
static
string
_ampReplaceCallback(
string $m)
Callback method for replacing & with & in a string
Details
static
string
linkXHTMLSafe(
string $input)
This method processes a string and replaces all instances of & with & in links only.
static
string
stringJSSafe(
string $string)
This method processes a string and escapes it for use in JavaScript