Joomla CMS  4.2.2
Documentation des API du CMS Joomla en version 4.2.2
Tout Structures de données Espaces de nommage Fichiers Fonctions Variables Pages
Référence de la classe Email

Fonctions membres publiques statiques

static cloak ($mail, $mailto=true, $text='', $email=true, $attribsBefore='', $attribsAfter='')
 

Description détaillée

Utility class for cloaking email addresses

Depuis
1.5

Documentation des fonctions membres

◆ cloak()

static cloak (   $mail,
  $mailto = true,
  $text = '',
  $email = true,
  $attribsBefore = '',
  $attribsAfter = '' 
)
static

Simple JavaScript email cloaker

By default replaces an email with a mailto link with email cloaked

Paramètres
string$mailThe -mail address to cloak.
boolean$mailtoTrue if text and mailing address differ
string$textText for the link
boolean$emailTrue if text is an email address
string$attribsBeforeAny attributes before the email address
string$attribsAfterAny attributes before the email address
Renvoie
string The cloaked email.
Depuis
1.5

Références $name, $text, Text\_(), elseif, PunycodeHelper\emailToUTF8(), Factory\getDocument(), et Uri\root().


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