| 1 | <?php namespace Arcanesoft\Core\Helpers\Sidebar\Entities; |
||
| 11 | class ItemCollection extends Collection |
||
| 12 | { |
||
| 13 | /* ------------------------------------------------------------------------------------------------ |
||
| 14 | | Getters & Setters |
||
| 15 | | ------------------------------------------------------------------------------------------------ |
||
| 16 | */ |
||
| 17 | /** |
||
| 18 | * Set the current name to the items collection. |
||
| 19 | * |
||
| 20 | * @param string $currentName |
||
| 21 | * |
||
| 22 | * @return self |
||
| 23 | */ |
||
| 24 | public function setCurrent($currentName) |
||
| 30 | |||
| 31 | /* ------------------------------------------------------------------------------------------------ |
||
| 32 | | Check Functions |
||
| 33 | | ------------------------------------------------------------------------------------------------ |
||
| 34 | */ |
||
| 35 | /** |
||
| 36 | * Check if the items collection has an active one. |
||
| 37 | * |
||
| 38 | * @return bool |
||
| 39 | */ |
||
| 40 | public function hasActiveItem() |
||
| 48 | } |
||
| 49 |