Joomla! 1.5 API

Packages

Package: Joomla-Framework

License

Content on this site is copyright © 2005 - 2011 Open Source Matters Inc and can be used in accordance with the Joomla! Electronic Documentation License. Some parts of this website may be subject to other licenses.

 Class JHTMLEmail

Description

Utility class for cloaking email adresses

  • since: 1.5

Located in /joomla/html/html/email.php (line 23)

Class JHTMLEmail   (Subpackage HTML)
Method Summary
Method void cloak ( $mail, [ $mailto = 1], [ $text = ''], [ $email = 1], [ $prefix = 'mailto:'], [ $suffix = ''], [ $attribs = ''])
Method void _convertEncoding ( $text)
Methods
cloak (line 30)

Simple Javascript email Cloaker

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

void cloak ( $mail, [ $mailto = 1], [ $text = ''], [ $email = 1], [ $prefix = 'mailto:'], [ $suffix = ''], [ $attribs = ''])
  • $mail
  • $mailto
  • $text
  • $email
  • $prefix
  • $suffix
  • $attribs
_convertEncoding (line 95)
void _convertEncoding ( $text)
  • $text
Support Joomla!