class JHtmlEmail


Located at : UKNOWVA_ROOT/libraries/joomla/html/html/email.php

Utility class for cloaking email adresses

Methods

static string
cloak(string $mail, boolean $mailto = 1, string $text = '', boolean $email = 1)

Simple Javascript email Cloaker

Details

at line 35
static string cloak(string $mail, boolean $mailto = 1, string $text = '', boolean $email = 1)

Simple Javascript email Cloaker

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

Parameters

string $mail The -mail address to cloak.
boolean $mailto True if text and mailing address differ
string $text Text for the link
boolean $email True if text is an e-mail address

Return Value

string The cloaked email.