Conditions | 1 |
Paths | 1 |
Total Lines | 19 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
24 | public function EditForm() |
||
25 | { |
||
26 | $file = $this->getItem(); |
||
27 | |||
28 | // Get form components |
||
29 | $fields = $this->parent->getDMSFileEditFields($file); |
||
30 | $actions = $this->parent->getDMSFileEditActions($file); |
||
31 | $validator = $this->parent->getDMSFileEditValidator($file); |
||
32 | $form = new Form( |
||
33 | $this, |
||
34 | __FUNCTION__, |
||
35 | $fields, |
||
36 | $actions, |
||
37 | $validator |
||
38 | ); |
||
39 | $form->loadDataFrom($file); |
||
40 | |||
41 | return $form; |
||
42 | } |
||
43 | } |
||
44 |