| @@ 312-316 (lines=5) @@ | ||
| 309 | */ |
|
| 310 | public function validate(Request $request) |
|
| 311 | { |
|
| 312 | if ($this->action instanceof RowAction) { |
|
| 313 | call_user_func([$this->action, 'form'], $this->action->getRow()); |
|
| 314 | } else { |
|
| 315 | call_user_func([$this->action, 'form']); |
|
| 316 | } |
|
| 317 | ||
| 318 | $failedValidators = []; |
|
| 319 | ||
| @@ 428-432 (lines=5) @@ | ||
| 425 | { |
|
| 426 | ||
| 427 | ||
| 428 | if ($this->action instanceof RowAction) { |
|
| 429 | call_user_func([$this->action, 'form'], $this->action->getRow()); |
|
| 430 | } else { |
|
| 431 | call_user_func([$this->action, 'form']); |
|
| 432 | } |
|
| 433 | ||
| 434 | $this->addModalHtml($this->modalId); |
|
| 435 | ||