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