Email

Utility class for cloaking email addresses

abstract
since

1.5

package

Application

Methods

cloak

Simple JavaScript email cloaker

cloak(string mail, bool mailto = true, string text = '', bool email = true, string attribsBefore = '', string attribsAfter = '') : string
static

By default replaces an email with a mailto link with email cloaked

since

1.5

Arguments

mail

stringThe -mail address to cloak.

mailto

boolTrue if text and mailing address differ

text

stringText for the link

email

boolTrue if text is an email address

attribsBefore

stringAny attributes before the email address

attribsAfter

stringAny attributes before the email address

Response

stringThe cloaked email.