JHtmlEmail
Utility class for cloaking email addresses
abstract
| package |
Joomla.Platform |
|---|---|
| subpackage |
HTML |
| since |
11.1 |
Methods
_convertEncoding
Convert encoded text
_convertEncoding(string $text) : string
static
| since |
11.1 |
|---|
Arguments
- $text
stringText to convert
Response
stringThe converted text.
cloak
Simple JavaScript email cloaker
cloak(string $mail, boolean $mailto = true, string $text = '', boolean $email = true) : string
static
By default replaces an email with a mailto link with email cloaked
| since |
11.1 |
|---|
Arguments
stringThe -mail address to cloak.- $mailto
booleanTrue if text and mailing address differ- $text
stringText for the linkbooleanTrue if text is an e-mail address
Response
stringThe cloaked email.