JHtmlEmail::cloak
Simple JavaScript email cloaker
By default replaces an email with a mailto link with email cloaked
Signature
public function cloak(string
$mail,
[boolean
$mailto = true,
[string
$text = '',
[boolean
$email = true]]] )
Parameters
-
$mail
- The -mail address to cloak.
-
$mailto
- True if text and mailing address differ
-
$text
- Text for the link
-
$email
- True if text is an e-mail address
Returns
- string
- The cloaked email.