| @@ 574-580 (lines=7) @@ | ||
| 571 | * |
|
| 572 | * @return Form |
|
| 573 | */ |
|
| 574 | public function fileEditForm() |
|
| 575 | { |
|
| 576 | // Get ID either from posted back value, or url parameter |
|
| 577 | $request = $this->getRequest(); |
|
| 578 | $id = $request->param('ID') ?: $request->postVar('ID'); |
|
| 579 | return $this->getFileEditForm($id); |
|
| 580 | } |
|
| 581 | ||
| 582 | /** |
|
| 583 | * The form is used to generate a form schema, |
|
| @@ 601-607 (lines=7) @@ | ||
| 598 | * |
|
| 599 | * @return Form |
|
| 600 | */ |
|
| 601 | public function fileInsertForm() |
|
| 602 | { |
|
| 603 | // Get ID either from posted back value, or url parameter |
|
| 604 | $request = $this->getRequest(); |
|
| 605 | $id = $request->param('ID') ?: $request->postVar('ID'); |
|
| 606 | return $this->getFileInsertForm($id); |
|
| 607 | } |
|
| 608 | ||
| 609 | /** |
|
| 610 | * Abstract method for generating a form for a file |
|