/contentmanager/code/trunk/administrator/components/com_contentmanager/libraries/jxtended/form/html/decorators/email.php
PHP | 26 lines | 9 code | 2 blank | 15 comment | 0 complexity | 3abdba04ba69fbff1399de97c9909b18 MD5 | raw file
- <?php
- /**
- * @version $Id: email.php 160 2009-07-09 00:06:09Z eddieajau $
- * @package JXtended.Libraries
- * @subpackage Form
- * @copyright Copyright (C) 2008 - 2009 JXtended, LLC. All rights reserved.
- * @license GNU General Public License <http://www.gnu.org/copyleft/gpl.html>
- * @link http://jxtended.com
- */
- defined('JPATH_BASE') or die;
- /**
- * Decorates an email link
- *
- * @static
- * @package JXtended.Libraries
- * @subpackage Forms
- */
- class JXDecoratorEmail
- {
- function render($value, $text = '', $options = null)
- {
- return JHTML::link('mailto:'.$value, ($text ? $text : $value), $options);
- }
- }