| 1 | <?php |
||
| 28 | class HtmlWidget implements WidgetInterface |
||
| 29 | { |
||
| 30 | protected $widgetModel; |
||
| 31 | |||
| 32 | public function __construct(ModelWidgetInterface $widgetModel) |
||
| 36 | |||
| 37 | /** |
||
| 38 | * Render widget content |
||
| 39 | * |
||
| 40 | * @return string |
||
| 41 | */ |
||
| 42 | public function render() |
||
| 50 | |||
| 51 | /** |
||
| 52 | * Check if widget should be rendered |
||
| 53 | * |
||
| 54 | * @return boolean |
||
| 55 | */ |
||
| 56 | public function isVisible() |
||
| 60 | } |
||
| 61 |