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
stringThe -mail address to cloak.- mailto
boolTrue if text and mailing address differ- text
stringText for the linkboolTrue if text is an email address- attribsBefore
stringAny attributes before the email address- attribsAfter
stringAny attributes before the email address
Response
stringThe cloaked email.