Current Directory: /home/astoriaah/www/old15/modules/mod_zentools/fields
Viewing File: /home/astoriaah/www/old15/modules/mod_zentools/fields/button.php
<?php
/**
* @package Zen Tools
* @subpackage Zen Tools
* @author Joomla Bamboo - design@joomlabamboo.com
* @copyright Copyright (c) 2014 Copyright (C), Joomlabamboo. All Rights Reserved.. All rights reserved.
* @license Copyright Joomlabamboo 2014
* @version 1.11.5
*/
// no direct access
defined('_JEXEC') or die('Restricted access');
class JFormFieldButton extends JFormField
{
protected $type = 'Button';
protected function getInput()
{
$buttonclass = (string) $this->element['buttonclass'];
$value = (string) $this->element['value'];
$id = (string) $this->element['id'];
// Output
return '
<div id="'.$id.'Wrap">
<div id="'.$id.'">
<a href="#" class="btn ' . $buttonclass . '"><span>' . $value . '</span></a>
</div>
</div>
';
}
protected function fetchTooltip($label, $description, &$node, $control_name, $name)
{
// Output
return ' ';
}
}