@@ -21,7 +21,7 @@ discard block |
||
| 21 | 21 | /** |
| 22 | 22 | * Constructor injects with DI container and the id to update. |
| 23 | 23 | * |
| 24 | - * @param Anax\DI\DIInterface $di a service container |
|
| 24 | + * @param DIInterface $di a service container |
|
| 25 | 25 | */ |
| 26 | 26 | public function __construct(DIInterface $di) |
| 27 | 27 | { |
@@ -53,8 +53,8 @@ discard block |
||
| 53 | 53 | /** |
| 54 | 54 | * Sets the callable to use for creating routes. |
| 55 | 55 | * |
| 56 | - * @param callable $urlCreate to create framework urls. |
|
| 57 | 56 | * |
| 57 | + * @param string $route |
|
| 58 | 58 | * @return void |
| 59 | 59 | */ |
| 60 | 60 | public function setUrlCreator($route) |
@@ -30,6 +30,7 @@ |
||
| 30 | 30 | * @param string $title |
| 31 | 31 | * @param string $crud, path to view |
| 32 | 32 | * @param array $data, htmlcontent to view |
| 33 | + * @param string $crud |
|
| 33 | 34 | */ |
| 34 | 35 | public function toRender($title, $crud, $data) |
| 35 | 36 | { |
@@ -21,7 +21,7 @@ discard block |
||
| 21 | 21 | /** |
| 22 | 22 | * Constructor injects with DI container and the id to update. |
| 23 | 23 | * |
| 24 | - * @param Anax\DI\DIInterface $di a service container |
|
| 24 | + * @param DIInterface $di a service container |
|
| 25 | 25 | * @param integer $id to show |
| 26 | 26 | */ |
| 27 | 27 | public function __construct(DIInterface $di, $id) |
@@ -58,7 +58,7 @@ discard block |
||
| 58 | 58 | * Get details on item to load form with. |
| 59 | 59 | * |
| 60 | 60 | * @param string $where |
| 61 | - * @param array $params get details on item with id parentid. |
|
| 61 | + * @param integer[] $params get details on item with id parentid. |
|
| 62 | 62 | * |
| 63 | 63 | * @return Comm |
| 64 | 64 | */ |
@@ -73,8 +73,8 @@ discard block |
||
| 73 | 73 | /** |
| 74 | 74 | * Sets the callable to use for creating routes. |
| 75 | 75 | * |
| 76 | - * @param callable $urlCreate to create framework urls. |
|
| 77 | 76 | * |
| 77 | + * @param string $route |
|
| 78 | 78 | * @return void |
| 79 | 79 | */ |
| 80 | 80 | public function setUrlCreator($route) |
@@ -102,6 +102,7 @@ discard block |
||
| 102 | 102 | * Returns json_decoded title and text |
| 103 | 103 | * If lead text, headline is larger font |
| 104 | 104 | * @param object $item |
| 105 | + * @param boolean $lead |
|
| 105 | 106 | * @return string htmlcode |
| 106 | 107 | */ |
| 107 | 108 | public function getDecode($item, $lead = null) |
@@ -167,6 +168,7 @@ discard block |
||
| 167 | 168 | * @param string $userid |
| 168 | 169 | * @param string $update, link |
| 169 | 170 | * @param string $htmlcomment, link |
| 171 | + * @param string $htmlcomment |
|
| 170 | 172 | * |
| 171 | 173 | * @return string htmlcode |
| 172 | 174 | */ |
@@ -185,6 +187,7 @@ discard block |
||
| 185 | 187 | /** |
| 186 | 188 | * If session contains correct id, returns string with edit-links |
| 187 | 189 | * |
| 190 | + * @param boolean $isadmin |
|
| 188 | 191 | * @return string htmlcode |
| 189 | 192 | */ |
| 190 | 193 | public function getDelete($isadmin, $userid, $del, $commid) |