| @@ 777-783 (lines=7) @@ | ||
| 774 | * |
|
| 775 | * @return Form |
|
| 776 | */ |
|
| 777 | public function FileEditForm() |
|
| 778 | { |
|
| 779 | // Get ID either from posted back value, or url parameter |
|
| 780 | $request = $this->getRequest(); |
|
| 781 | $id = $request->param('ID') ?: $request->postVar('ID'); |
|
| 782 | return $this->getFileEditForm($id); |
|
| 783 | } |
|
| 784 | ||
| 785 | /** |
|
| 786 | * The form is used to generate a form schema, |
|
| @@ 823-829 (lines=7) @@ | ||
| 820 | * |
|
| 821 | * @return Form |
|
| 822 | */ |
|
| 823 | public function FileInsertForm() |
|
| 824 | { |
|
| 825 | // Get ID either from posted back value, or url parameter |
|
| 826 | $request = $this->getRequest(); |
|
| 827 | $id = $request->param('ID') ?: $request->postVar('ID'); |
|
| 828 | return $this->getFileInsertForm($id); |
|
| 829 | } |
|
| 830 | ||
| 831 | /** |
|
| 832 | * |
|
| @@ 885-892 (lines=8) @@ | ||
| 882 | * |
|
| 883 | * @return Form |
|
| 884 | */ |
|
| 885 | public function FileHistoryForm() |
|
| 886 | { |
|
| 887 | $request = $this->getRequest(); |
|
| 888 | $id = $request->param('ID') ?: $request->postVar('ID'); |
|
| 889 | $form = $this->getFileHistoryForm($id); |
|
| 890 | ||
| 891 | return $form; |
|
| 892 | } |
|
| 893 | ||
| 894 | /** |
|
| 895 | * @param array $data |
|