| @@ 95-102 (lines=8) @@ | ||
| 92 | * |
|
| 93 | * @return bool |
|
| 94 | */ |
|
| 95 | protected function validLimit($input) |
|
| 96 | { |
|
| 97 | if ($this->isIntAndBetween($input, 0, 100) === false) { |
|
| 98 | return false; |
|
| 99 | } |
|
| 100 | ||
| 101 | return $this->isEnabledFilter('limit', $this->enabledFilters); |
|
| 102 | } |
|
| 103 | ||
| 104 | /** |
|
| 105 | * Validation for OFFSET parameter. |
|
| @@ 111-118 (lines=8) @@ | ||
| 108 | * |
|
| 109 | * @return bool |
|
| 110 | */ |
|
| 111 | protected function validOffset($input) |
|
| 112 | { |
|
| 113 | if ($this->isIntAndBetween($input, 0) === false) { |
|
| 114 | return false; |
|
| 115 | } |
|
| 116 | ||
| 117 | return $this->isEnabledFilter('offset', $this->enabledFilters); |
|
| 118 | } |
|
| 119 | ||
| 120 | /** |
|
| 121 | * Validation for FILTER parameter. |
|