1 | <?php |
||
13 | class UpdateCommentCommentForm extends FormModel |
||
14 | { |
||
15 | /** |
||
16 | * Constructor injects with DI container and the id to update. |
||
17 | * |
||
18 | * @param Anax\DI\DIInterface $di a service container |
||
19 | * @param integer $id to update |
||
20 | */ |
||
21 | public function __construct(DIInterface $di, $id) |
||
48 | |||
49 | |||
50 | /** |
||
51 | * Get details on item to load form with. |
||
52 | * |
||
53 | * @param integer $id get details on item with id. |
||
54 | * |
||
55 | * @return $comment |
||
|
|||
56 | */ |
||
57 | public function getItemDetails($id) |
||
64 | |||
65 | |||
66 | |||
67 | /** |
||
68 | * Callback for submit-button which should return true if it could |
||
69 | * carry out its work and false if something failed. |
||
70 | * |
||
71 | * @return boolean true if okey, false if something went wrong. |
||
72 | */ |
||
73 | public function callbackSubmit() |
||
89 | } |
||
90 |
This check marks PHPDoc comments that could not be parsed by our parser. To see which comment annotations we can parse, please refer to our documentation on supported doc-types.