[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/src/Filter/ -> OutputFilter.php (summary)

Joomla! Content Management System

Copyright: (C) 2006 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
File Size: 119 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

OutputFilter:: (4 methods):
  linkXHTMLSafe()
  stringJSSafe()
  stringURLSafe()
  ampReplaceCallback()


Class: OutputFilter  - X-Ref

OutputFilter

linkXHTMLSafe($input)   X-Ref
This method processes a string and replaces all instances of & with & in links only.

param: string  $input  String to process
return: string  Processed string

stringJSSafe($string)   X-Ref
This method processes a string and escapes it for use in JavaScript

param: string  $string  String to process
return: string  Processed text

stringURLSafe($string, $language = '')   X-Ref
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.

param: string  $string    String to process
param: string  $language  Language to transliterate to
return: string  Processed string

ampReplaceCallback($m)   X-Ref
Callback method for replacing & with & in a string

param: string  $m  String to process
return: string  Replaced string



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer