OutputFilter

Extends \Joomla\Filter\OutputFilter

OutputFilter

since

1.7.0

package

Application

Methods

ampReplaceCallback

Callback method for replacing & with & in a string

ampReplaceCallback(string m) : string
static
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
static
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
static

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
static
since

1.7.0

Arguments

string

stringString to process

language

stringLanguage to transliterate to

Response

stringProcessed string