@@ -301,6 +301,7 @@ discard block |
||
| 301 | 301 | * @Param String $type Selected content-type |
| 302 | 302 | * @Param Boolean $published If content should be published already |
| 303 | 303 | * @Return Object $form CForm object |
| 304 | + * @return \Mos\HTMLForm\CForm |
|
| 304 | 305 | */ |
| 305 | 306 | private function listForm($type = null, $published = false){ |
| 306 | 307 | |
@@ -340,6 +341,7 @@ discard block |
||
| 340 | 341 | * @Param String $action What to do (add or edit) |
| 341 | 342 | * @Param Object $values Content values to add form elements |
| 342 | 343 | * @Return Object $form CForm object |
| 344 | + * @return \Mos\HTMLForm\CForm |
|
| 343 | 345 | */ |
| 344 | 346 | private function contentForm($action, $values = null){ |
| 345 | 347 | if(isset($values) && is_object($values)){ |
@@ -472,6 +474,7 @@ discard block |
||
| 472 | 474 | * |
| 473 | 475 | * @Param String $returnUrl Return url |
| 474 | 476 | * @Return Object $form Form-object |
| 477 | + * @return \Mos\HTMLForm\CForm |
|
| 475 | 478 | */ |
| 476 | 479 | public function confirmForm($returnUrl = null){ |
| 477 | 480 | $returnUrl = (isset($returnUrl)) ? $returnUrl : $this->request->getBaseUrl(); |
@@ -505,6 +508,7 @@ discard block |
||
| 505 | 508 | * @Param String $slug Old slug for content to compare |
| 506 | 509 | * @Param String $action Edit or make new content |
| 507 | 510 | * @Return Boolean false If saving fail, return false |
| 511 | + * @return false|null |
|
| 508 | 512 | */ |
| 509 | 513 | private function saveContent($form, $slug = null, $action){ |
| 510 | 514 | // Prepare content for saving |