API17:JFilterOutput
From Joomla! Documentation
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
JFilterOutput
Description
Description:JFilterOutput [Edit Descripton]
Methods
| Visibility | Method name | Description |
|---|---|---|
| public static | _ampReplaceCallback | Callback method for replacing & with & in a string. |
| public static | ampReplace | Replaces & with & for xhtml compliance. |
| public static | cleanText | Cleans text of all formating and scripting code. |
| public static | linkXHTMLSafe | This method processes a string and replaces all instances of & with & in links only. |
| public static | objectHTMLSafe | Makes an object safe to display in forms. |
| public static | 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 lowercased. |
| public static | stringURLUnicodeSlug | This method implements unicode slugs instead of transliteration. |
| public static | stripImages | Strip img-tags from string. |
- Defined in libraries/joomla/filter/filteroutput.php
Importing
jimport( 'joomla.filter.filteroutput' );
See also
-
JFilterOutput source code on BitBucket
-
Subpackage Filter
- Other versions of JFilterOutput
SeeAlso:JFilterOutput [Edit See Also]
User contributed notes
<CodeExamplesForm />
