| 1 | <?php namespace Anomaly\DashboardModule\Widget; |
||
| 14 | class WidgetCollection extends EntryCollection |
||
| 15 | { |
||
| 16 | |||
| 17 | /** |
||
| 18 | * Return only allowed widgets. |
||
| 19 | * |
||
| 20 | * @return WidgetCollection |
||
| 21 | */ |
||
| 22 | public function allowed() |
||
| 37 | |||
| 38 | /** |
||
| 39 | * Return only widgets that |
||
| 40 | * are pinned to the top. |
||
| 41 | * |
||
| 42 | * @return static |
||
| 43 | */ |
||
| 44 | public function pinned() |
||
| 54 | |||
| 55 | /** |
||
| 56 | * Return only widgets in |
||
| 57 | * the provided column. |
||
| 58 | * |
||
| 59 | * @param $column |
||
| 60 | * @return static |
||
| 61 | */ |
||
| 62 | public function column($column, $over = false) |
||
| 84 | } |
||
| 85 |