API17

Difference between revisions of "JFilterOutput"

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 17:54, 23 April 2011

The "API17" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

[Edit Descripton] Template:Description:JFilterOutput

Defined in[edit]

libraries/joomla/filter/filteroutput.php

Subpackage[edit]

Filter

Extends[edit]

Extended by[edit]

Methods[edit]

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[edit]

jimport( 'joomla.filter.filteroutput' );

See also[edit]

Template:SeeAlso:JFilterOutput [Edit See Also]

Examples[edit]

<CodeExamplesForm />