for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @copyright Copyright (c) 2015 ublaboo <[email protected]>
* @author Pavel Janda <[email protected]>
* @package Ublaboo
*/
namespace Ublaboo\DataGrid\Traits;
use Ublaboo\DataGrid\DataGrid;
use Nette\Utils\Html;
use Ublaboo\DataGrid\Row;
trait TButtonIcon
{
* @var string|callable
protected $icon;
* Set icon
* @param string $icon
public function setIcon($icon)
$this->icon = $icon;
return $this;
}
* Get icon
* @return string
public function getIcon()
return $this->icon;