API15

API15:JFilterOutput

From Joomla! Documentation

Revision as of 00:38, 25 March 2017 by JoomlaWikiBot (talk | contribs) (preparing for archive only)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Defined in

libraries/joomla/filter/filteroutput.php

Methods

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

jimport( 'joomla.filter.filteroutput' );



Examples

Code Examples