Back to Joomla project (class list)

Class Email - list of methods

Utility class for cloaking email addresses
Package: Joomla\CMS\HTML\Helpers
Copyright: (C) 2007 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
Located at: Joomla/HTML/Helpers/Email.php
Project: Joomla

Method Summary

public static string
(mixed $mail, mixed $mailto = true, mixed $text = '', mixed $email = true, mixed $attribsBefore = '', mixed $attribsAfter = '')

Simple JavaScript email cloaker
Parameters
  • string $mail The -mail address to cloak.
  • bool $mailto True if text and mailing address differ
  • string $text Text for the link
  • bool $email True if text is an email address
  • string $attribsBefore Any attributes before the email address
  • string $attribsAfter Any attributes before the email address
Returns
  • string The cloaked email.
Since
  • 1.5
Show source code of this method: cloak Source Code

Tags Summary

Since
1.5