Utility class for cloaking email addresses
abstract
since |
1.5 |
---|---|
package |
Joomla CMS |
Methods
cloak
Simple JavaScript email cloaker
cloak( mail, mailto = true, text = '', email = true, attribsBefore = '', attribsAfter = '') :
static
By default replaces an email with a mailto link with email cloaked
since |
1.5 |
---|
Arguments
string
The -mail address to cloak.- mailto
bool
True if text and mailing address differ- text
string
Text for the linkbool
True if text is an email address- attribsBefore
string
Any attributes before the email address- attribsAfter
string
Any attributes before the email address
Response
string
The cloaked email.