1 | <?php |
||
13 | class CreateCommentForm extends FormModel |
||
14 | { |
||
15 | /** |
||
16 | * Constructor injects with DI container. |
||
17 | * |
||
18 | * @param Anax\DI\DIInterface $di a service container |
||
19 | */ |
||
20 | public function __construct(DIInterface $di) |
||
42 | |||
43 | |||
44 | |||
45 | /** |
||
46 | * Callback for submit-button which should return true if it could |
||
47 | * carry out its work and false if something failed. |
||
48 | * |
||
49 | * @return boolean true if okey, false if something went wrong. |
||
50 | */ |
||
51 | public function callbackSubmit() |
||
71 | } |
||
72 |