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