1 | <?php |
||
11 | class DeleteUserForm extends FormModel |
||
12 | { |
||
13 | /** |
||
14 | * Constructor injects with DI container and the id to update. |
||
15 | * |
||
16 | * @param Anax\DI\DIInterface $di a service container |
||
17 | * @param integer $id to update |
||
18 | */ |
||
19 | 2 | public function __construct(DIInterface $di, $id) |
|
56 | |||
57 | |||
58 | |||
59 | /** |
||
60 | * Callback for submit-button which should return true if it could |
||
61 | * carry out its work and false if something failed. |
||
62 | * |
||
63 | * @return boolean true if okey, false if something went wrong. |
||
64 | */ |
||
65 | 1 | public function callbackSubmit() |
|
71 | } |
||
72 |