API16

JFilterOutput: Difference between revisions

From Joomla! Documentation

m clean up
m preparing for archive only
 
Line 1: Line 1:
{{subst:Description:JFilterOutput}}
===Defined in===
===Defined in===
libraries/joomla/filter/filteroutput.php
libraries/joomla/filter/filteroutput.php
Line 32: Line 30:




{{subst:SeeAlso:JFilterOutput}}
 


===Examples===
===Examples===
<CodeExamplesForm />
=== Code Examples ===
<dpl>
<dpl>
  noresultsheader=\n
  noresultsheader=\n
  category=JFilterOutput
  category=JFilterOutput
  category=CodeExample
  namespace=CodeExample
  category=ClassExample
  category=ClassExample
  include=*
  include=*
  format= ,,,
  format= ,,,
</dpl>
</dpl>

Latest revision as of 01:40, 25 March 2017

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.
stringURLUnicodeSlug This method implements unicode slugs instead of transliteration.
ampReplace Replaces & with & for xhtml compliance
cleanText Cleans text of all formating and scripting code

Importing

jimport( 'joomla.filter.filteroutput' );



Examples

Code Examples