1 <?php
2 /**
3 * Icon.php
4 *
5 * @author Elvyrra SAS
6 * @license http://rem.mit-license.org/ MIT
7 */
8
9 namespace Hawk\View\Plugins;
10
11 /**
12 * This class is used in views to display an icon
13 *
14 * @package View\Plugins
15 */
16 class Icon extends \Hawk\ViewPlugin{
17 /**
18 * Display the button
19 *
20 * @return string The html result describing the button
21 */
22 public function display(){
23 return \Hawk\Icon::make($this->params);
24 }
25 }
26