| 1 | <?php |
||
| 7 | class Widget extends AbstractWidget |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * Async and reloadable widgets are wrapped in container. |
||
| 11 | * You can customize it by overriding this method. |
||
| 12 | * |
||
| 13 | * @return array |
||
| 14 | */ |
||
| 15 | public function container() |
||
| 24 | |||
| 25 | /** |
||
| 26 | * Determine if the widget should be displayed. |
||
| 27 | * |
||
| 28 | * @return bool |
||
| 29 | */ |
||
| 30 | public function shouldBeDisplayed() |
||
| 34 | } |
||
| 35 |