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