|
@@ 34-36 (lines=3) @@
|
| 31 |
|
$this->categories = Serialize::decode($cfg['categories']); |
| 32 |
|
} |
| 33 |
|
// check cache is defined |
| 34 |
|
if ($this->cache === null || !Obj::isLikeInt($this->cache)) { |
| 35 |
|
$this->cache = (int)$cfg['cache']; |
| 36 |
|
} |
| 37 |
|
// check item count is defined |
| 38 |
|
if ($this->count === null || !Obj::isLikeInt($this->count)) { |
| 39 |
|
$this->count = (int)$cfg['count']; |
|
@@ 38-40 (lines=3) @@
|
| 35 |
|
$this->cache = (int)$cfg['cache']; |
| 36 |
|
} |
| 37 |
|
// check item count is defined |
| 38 |
|
if ($this->count === null || !Obj::isLikeInt($this->count)) { |
| 39 |
|
$this->count = (int)$cfg['count']; |
| 40 |
|
} |
| 41 |
|
} |
| 42 |
|
|
| 43 |
|
/** |