| @@ 589-595 (lines=7) @@ | ||
| 586 | * |
|
| 587 | * @return Form |
|
| 588 | */ |
|
| 589 | public function fileEditForm() |
|
| 590 | { |
|
| 591 | // Get ID either from posted back value, or url parameter |
|
| 592 | $request = $this->getRequest(); |
|
| 593 | $id = $request->param('ID') ?: $request->postVar('ID'); |
|
| 594 | return $this->getFileEditForm($id); |
|
| 595 | } |
|
| 596 | ||
| 597 | /** |
|
| 598 | * The form is used to generate a form schema, |
|
| @@ 616-622 (lines=7) @@ | ||
| 613 | * |
|
| 614 | * @return Form |
|
| 615 | */ |
|
| 616 | public function fileInsertForm() |
|
| 617 | { |
|
| 618 | // Get ID either from posted back value, or url parameter |
|
| 619 | $request = $this->getRequest(); |
|
| 620 | $id = $request->param('ID') ?: $request->postVar('ID'); |
|
| 621 | return $this->getFileInsertForm($id); |
|
| 622 | } |
|
| 623 | ||
| 624 | /** |
|
| 625 | * Abstract method for generating a form for a file |
|