Back to Joomla project (class list)

Class OutputFilter - list of methods

OutputFilter
Package: Joomla\CMS\Filter
Copyright: (C) 2006 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
Located at: Joomla/Filter/OutputFilter.php
Project: Joomla

Method Summary

public static string
(mixed $input)

This method processes a string and replaces all instances of & with & in links only.
Parameters
  • string $input String to process
Returns
  • string Processed string
Since
  • 1.7.0
Show source code of this method: linkXHTMLSafe Source Code

public static string
(mixed $string)

This method processes a string and escapes it for use in JavaScript
Parameters
  • string $string String to process
Returns
  • string Processed text
Show source code of this method: stringJSSafe Source Code

public static string
(mixed $string, mixed $language = '')

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 lowercase.
Parameters
  • string $string String to process
  • string $language Language to transliterate to
Returns
  • string Processed string
Since
  • 1.7.0
Show source code of this method: stringURLSafe Source Code

public static string
(mixed $m)

Callback method for replacing & with & in a string
Parameters
  • string $m String to process
Returns
  • string Replaced string
Since
  • 3.5
Show source code of this method: ampReplaceCallback Source Code

Tags Summary

Since
1.7.0