@@ 206-213 (lines=8) @@ | ||
203 | /** |
|
204 | * @return bool |
|
205 | */ |
|
206 | public function isGuarded() |
|
207 | { |
|
208 | if (!isset($this->options->model['guarded'])) { |
|
209 | return false; |
|
210 | } |
|
211 | ||
212 | return $this->isInArray($this->field->getName(), $this->options->model['guarded']); |
|
213 | } |
|
214 | ||
215 | /** |
|
216 | * @return bool |
|
@@ 218-225 (lines=8) @@ | ||
215 | /** |
|
216 | * @return bool |
|
217 | */ |
|
218 | public function isHidden() |
|
219 | { |
|
220 | if (!isset($this->options->model['hidden'])) { |
|
221 | return false; |
|
222 | } |
|
223 | ||
224 | return $this->isInArray($this->field->getName(), $this->options->model['hidden']); |
|
225 | } |
|
226 | ||
227 | /** |
|
228 | * @return bool |