JFilterOutput: Difference between revisions
From Joomla! Documentation
Bulk upload by Doxiki2 |
Layout updates |
||
| Line 6: | Line 6: | ||
===Defined in=== | ===Defined in=== | ||
libraries/joomla/filter/filteroutput.php | libraries/joomla/filter/filteroutput.php | ||
* see source code in [[jplatform:filter/filteroutput.php|BitBucket]] | |||
===Subpackage=== | ===Subpackage=== | ||
[[Subpackage Filter/11.1|Filter]] | [[Subpackage Filter/11.1|Filter]] | ||
| Line 44: | Line 45: | ||
<source lang="php">jimport( 'joomla.filter.filteroutput' );</source> | <source lang="php">jimport( 'joomla.filter.filteroutput' );</source> | ||
===See also=== | ===See also=== | ||
* JFilterOutput source code in [[jplatform:filter/filteroutput.php|BitBucket]] | |||
* [[JFilterOutput|Other versions of this class]] | * [[JFilterOutput|Other versions of this class]] | ||
{{SeeAlso:JFilterOutput}} | {{SeeAlso:JFilterOutput}} | ||
Revision as of 22:54, 23 April 2011
[Edit Descripton] Template:Description:JFilterOutput
Defined in
libraries/joomla/filter/filteroutput.php
- see source code in BitBucket
Subpackage
Extends
Extended by
Methods
| Method name | Description |
|---|---|
| _ampReplaceCallback | Callback method for replacing & with & in a string. |
| ampReplace | Replaces & with & for xhtml compliance. |
| cleanText | Cleans text of all formating 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 lowercased. |
| stringURLUnicodeSlug | This method implements unicode slugs instead of transliteration. |
| stripImages | Strip img-tags from string. |
Importing
jimport( 'joomla.filter.filteroutput' );
See also
- JFilterOutput source code in BitBucket
- Other versions of this class
Template:SeeAlso:JFilterOutput [Edit See Also]
Examples
<CodeExamplesForm />