\JFilterOutput
JFilterOutput
Synopsis
class JFilterOutput
{
- // methods
- public static void objectHTMLSafe()
- public static string linkXHTMLSafe()
- public static string stringURLSafe()
- public static string stringURLUnicodeSlug()
- public static string ampReplace()
- public static string _ampReplaceCallback()
- public static string cleanText()
- public static string stripImages()
- public static string stripIframes()
Tasks
Tasks
Line | Task |
---|---|
152+ | There must be a better way??? |
Methods
public
- _ampReplaceCallback() — Callback method for replacing & with & in a string
- ampReplace() — Replaces & with & for XHTML compliance
- cleanText() — Cleans text of all formatting and scripting code
- linkXHTMLSafe() — This method processes a string and replaces all instances of & with & in links only.
- objectHTMLSafe() — Makes an object safe to display in forms
- stringURLSafe() — 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.
- stringURLUnicodeSlug() — This method implements unicode slugs instead of transliteration.
- stripIframes() — Strip iframe-tags from string
- stripImages() — Strip img-tags from string