@@ 212-219 (lines=8) @@ | ||
209 | /** |
|
210 | * @return bool |
|
211 | */ |
|
212 | public function isGuarded() |
|
213 | { |
|
214 | if (!isset($this->options->model['guarded'])) { |
|
215 | return false; |
|
216 | } |
|
217 | ||
218 | return $this->isInArray($this->name, $this->options->model['guarded']); |
|
219 | } |
|
220 | ||
221 | /** |
|
222 | * @return bool |
|
@@ 224-231 (lines=8) @@ | ||
221 | /** |
|
222 | * @return bool |
|
223 | */ |
|
224 | public function isHidden() |
|
225 | { |
|
226 | if (!isset($this->options->model['hidden'])) { |
|
227 | return false; |
|
228 | } |
|
229 | ||
230 | return $this->isInArray($this->name, $this->options->model['hidden']); |
|
231 | } |
|
232 | ||
233 | /** |
|
234 | * @return bool |