OutputFilter
Extends OutputFilterOutputFilter
since |
1.7.0 |
---|---|
package |
Joomla CMS |
Methods
ampReplaceCallback
Callback method for replacing & with & in a string
ampReplaceCallback( m) :
static
since |
3.5 |
---|
Arguments
- m
string
String to process
Response
string
Replaced string
linkXHTMLSafe
This method processes a string and replaces all instances of & with & in links only.
linkXHTMLSafe( input) :
static
since |
1.7.0 |
---|
Arguments
- input
string
String to process
Response
string
Processed string
stringJSSafe
This method processes a string and escapes it for use in JavaScript
stringJSSafe( string) :
static
Arguments
- string
string
String to process
Response
string
Processed text
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 lowercase.
stringURLSafe( string, language = '') :
static
since |
1.7.0 |
---|
Arguments
- string
string
String to process- language
string
Language to transliterate to
Response
string
Processed string