| @@ 662-668 (lines=7) @@ | ||
| 659 | * |
|
| 660 | * @return Form |
|
| 661 | */ |
|
| 662 | public function FileEditForm() |
|
| 663 | { |
|
| 664 | // Get ID either from posted back value, or url parameter |
|
| 665 | $request = $this->getRequest(); |
|
| 666 | $id = $request->param('ID') ?: $request->postVar('ID'); |
|
| 667 | return $this->getFileEditForm($id); |
|
| 668 | } |
|
| 669 | ||
| 670 | /** |
|
| 671 | * The form is used to generate a form schema, |
|
| @@ 708-714 (lines=7) @@ | ||
| 705 | * |
|
| 706 | * @return Form |
|
| 707 | */ |
|
| 708 | public function FileInsertForm() |
|
| 709 | { |
|
| 710 | // Get ID either from posted back value, or url parameter |
|
| 711 | $request = $this->getRequest(); |
|
| 712 | $id = $request->param('ID') ?: $request->postVar('ID'); |
|
| 713 | return $this->getFileInsertForm($id); |
|
| 714 | } |
|
| 715 | ||
| 716 | /** |
|
| 717 | * @param array $data |
|