OutputFilter
Extends \Joomla\Filter\OutputFilterOutputFilter
since |
1.7.0 |
---|---|
package |
Joomla CMS |
Methods
ampReplaceCallback
Callback method for replacing & with & in a string
ampReplaceCallback(string m) : string
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(string input) : string
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 string) : 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 string, string language = '') : string
static
since |
1.7.0 |
---|
Arguments
- string
string
String to process- language
string
Language to transliterate to
Response
string
Processed string