API15

Difference between revisions of "JFilterOutput"

From Joomla! Documentation

(New page: <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki> </span> {{Description:JFilterOutput}} ===Defined ...)
(No difference)

Revision as of 17:21, 22 March 2010

The "API15" 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

Methods[edit]

Method name Description
objectHTMLSafe Makes an object safe to display in forms
linkXHTMLSafe This method processes a string and replaces all instances of & with & in links only
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.
ampReplace Replaces & with & for xhtml compliance
cleanText Cleans text of all formating and scripting code

Importing[edit]

jimport( 'joomla.filter.filteroutput' );

[Edit See Also] Template:SeeAlso:JFilterOutput

Examples[edit]

<CodeExamplesForm />