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
string
Text to convert
Response
string
The 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
string
The -mail address to cloak.- $mailto
boolean
True if text and mailing address differ- $text
string
Text for the linkboolean
True if text is an e-mail address
Response
string
The cloaked email.