1 | <?php |
||
17 | class ReloadButton extends Button implements RegistersClientScriptInterface |
||
18 | { |
||
19 | /** |
||
20 | * @var string the button label |
||
21 | */ |
||
22 | public $label = '<i class="glyphicon glyphicon-refresh"></i>'; |
||
23 | /** |
||
24 | * @var boolean whether the label should be HTML-encoded. |
||
25 | */ |
||
26 | public $encodeLabel = false; |
||
27 | |||
28 | /** |
||
29 | * Renders the widget. |
||
30 | */ |
||
31 | public function run() |
||
37 | |||
38 | /** |
||
39 | * @inheritdoc |
||
40 | */ |
||
41 | public function registerClientScript() |
||
48 | } |
||
49 |