OutputFilter
class OutputFilter (View source)
Windwalker Output Filter
Methods
Makes an object safe to display in forms
This method processes a string and replaces all instances of & with & in links only.
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.
This method implements unicode slugs instead of transliteration.
Replaces & with & for XHTML compliance
Cleans text of all formatting and scripting code
Strip img-tags from string
Strip iframe-tags from string
stripScript
stripStyle
Details
at line line 33
static object
objectHTMLSafe(object $mixed, integer $quote_style = ENT_QUOTES, mixed $exclude_keys = '')
Makes an object safe to display in forms
Object parameters that are non-string, array, object or start with underscore will be converted
at line line 67
static string
linkXHTMLSafe(string $input)
This method processes a string and replaces all instances of & with & in links only.
at line line 93
static string
stringURLSafe(string $string)
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.
at line line 121
static string
stringURLUnicodeSlug(string $string)
This method implements unicode slugs instead of transliteration.
at line line 153
static string
ampReplace(string $text)
Replaces & with & for XHTML compliance
at line line 172
static string
cleanText(string $text)
Cleans text of all formatting and scripting code
at line line 194
static string
stripImages(string $string)
Strip img-tags from string
at line line 206
static string
stripIframes(string $string)
Strip iframe-tags from string
at line line 218
static mixed
stripScript(string $string)
stripScript
at line line 230
static mixed
stripStyle(string $string)
stripStyle