OutputFilter

Extends OutputFilter

OutputFilter

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

stringString to process

Response

stringReplaced 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

stringString to process

Response

stringProcessed string

stringJSSafe

This method processes a string and escapes it for use in JavaScript

stringJSSafe( 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,  language = '') : 
static
since

1.7.0

Arguments

string

stringString to process

language

stringLanguage to transliterate to

Response

stringProcessed string