Joomla CMS  4.2.2
Documentation des API du CMS Joomla en version 4.2.2
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)
 
- 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 setLanguage (Language $language)
 
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
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.

◆ 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 StringHelper\ord().

◆ 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, Language\getInstance(), Factory\getLanguage(), et StringHelper\strtolower().

Référencé par Filter\select(), et ApplicationHelper\stringURLSafe().


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