@@ -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(); |
@@ -504,6 +507,7 @@ discard block |
||
504 | 507 | * @Param Object $form Form object |
505 | 508 | * @Param String $oldSlug Old slug for content to compare |
506 | 509 | * @Return Boolean false If saving fail, return false |
510 | + * @return false|null |
|
507 | 511 | */ |
508 | 512 | private function saveContent($form, $oldSlug = null){ |
509 | 513 | // Prepare content for saving |