OutputFilter
Extends OutputFilterOutputFilter
| since |
1.7.0 |
|---|---|
| package |
Joomla CMS |
Methods
_ampReplaceCallback
Callback method for replacing & with & in a string
_ampReplaceCallback(string m) : string
| since |
1.7.0 |
|---|---|
| deprecated |
4.0 Use OutputFilter::ampReplaceCallback() instead |
Arguments
- m
stringString to process
Response
stringReplaced string
ampReplaceCallback
Callback method for replacing & with & in a string
ampReplaceCallback(string m) : string
| since |
3.5 |
|---|
Arguments
- m
stringString to process
Response
stringReplaced string
linkXHTMLSafe
This method processes a string and replaces all instances of & with & in links only.
linkXHTMLSafe(string input) : string
| since |
1.7.0 |
|---|
Arguments
- input
stringString to process
Response
stringProcessed string
stringJSSafe
This method processes a string and escapes it for use in JavaScript
stringJSSafe(string string) : string
Arguments
- string
stringString to process
Response
stringProcessed 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
| since |
1.7.0 |
|---|
Arguments
- string
stringString to process- language
stringLanguage to transliterate to
Response
stringProcessed string