Actions

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

Replacement filing cabinet.png
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.

[Edit Descripton] Description:JFilterOutput

Defined in

libraries/joomla/filter/filteroutput.php

Subpackage

Filter

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

SeeAlso:JFilterOutput [Edit See Also]

Examples

<CodeExamplesForm />