Joomla CMS  3.9.25 (avec JPlatform 13.1 inclus)
Documentation des API du CMS Joomla en version 3.9.25 et du framework Joomla Platform intégré
Référence de la classe OutputFilter
+ Graphe d'héritage de OutputFilter:

Fonctions membres publiques statiques

static linkXHTMLSafe ($input)
 
static stringJSSafe ($string)
 
static stringURLSafe ($string, $language='')
 
static ampReplaceCallback ($m)
 
static _ampReplaceCallback ($m)
 
- Fonctions membres publiques statiques hérités de OutputFilter
static objectHtmlSafe (&$mixed, $quoteStyle=\ENT_QUOTES, $excludeKeys='')
 
static linkXhtmlSafe ($input)
 
static stringUrlSafe ($string, $language='')
 
static stringUrlUnicodeSlug ($string)
 
static ampReplace ($text)
 
static cleanText (&$text)
 
static stripImages ($string)
 
static stripIframes ($string)
 

Description détaillée

OutputFilter

Depuis
1.7.0

Documentation des fonctions membres

◆ _ampReplaceCallback()

static _ampReplaceCallback (   $m)
static

Callback method for replacing & with & in a string

Paramètres
string$mString to process
Renvoie
string Replaced string
Depuis
1.7.0
Obsolète:
4.0 Use OutputFilter::ampReplaceCallback() instead

Référencé par OutputFilterWrapper\_ampReplaceCallback().

◆ ampReplaceCallback()

static ampReplaceCallback (   $m)
static

Callback method for replacing & with & in a string

Paramètres
string$mString to process
Renvoie
string Replaced string
Depuis
3.5

◆ linkXHTMLSafe()

static linkXHTMLSafe (   $input)
static

This method processes a string and replaces all instances of & with & in links only.

Paramètres
string$inputString to process
Renvoie
string Processed string
Depuis
1.7.0

Références $input.

Référencé par OutputFilterWrapper\linkXHTMLSafe().

◆ stringJSSafe()

static stringJSSafe (   $string)
static

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

Paramètres
string$stringString to process
Renvoie
string Processed text

Références null.

◆ stringURLSafe()

static stringURLSafe (   $string,
  $language = '' 
)
static

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.

Paramètres
string$stringString to process
string$languageLanguage to transliterate to
Renvoie
string Processed string
Depuis
1.7.0

Références $lang, $language, et Language\getInstance().

Référencé par OutputFilterWrapper\stringURLSafe().


La documentation de cette classe a été générée à partir du fichier suivant :