@@ -74,7 +74,7 @@ discard block |
||
| 74 | 74 | * @author Kaero |
| 75 | 75 | * @copyright ImageCMS (c) 2012, Kaero <[email protected]> |
| 76 | 76 | * @param array $EmptyFields |
| 77 | - * @return bool |
|
| 77 | + * @return false|null |
|
| 78 | 78 | */ |
| 79 | 79 | public function make($EmptyFields) { |
| 80 | 80 | if (ImportBootstrap::hasErrors()) { |
@@ -601,7 +601,7 @@ discard block |
||
| 601 | 601 | * Update Shop Products Categories |
| 602 | 602 | * @param array $arg Processed arguments list |
| 603 | 603 | * @param integer $productId Product Id for alias |
| 604 | - * @param $EmptyFields |
|
| 604 | + * @param boolean $EmptyFields |
|
| 605 | 605 | * @return bool|null |
| 606 | 606 | * @author Kaero |
| 607 | 607 | * @copyright ImageCMS (c) 2012, Kaero <[email protected]> |
@@ -788,7 +788,7 @@ discard block |
||
| 788 | 788 | * Save the picture on coal in the original folder or the origin/additional |
| 789 | 789 | * @param string $param url |
| 790 | 790 | * @param bool|string $type (origin|additional) |
| 791 | - * @return bool|string Name of file OR False |
|
| 791 | + * @return false|string Name of file OR False |
|
| 792 | 792 | * @access private |
| 793 | 793 | */ |
| 794 | 794 | private function saveImgByUrl($param, $type = false) { |
@@ -26,7 +26,7 @@ |
||
| 26 | 26 | /** |
| 27 | 27 | * Save settings |
| 28 | 28 | * @param array $settings |
| 29 | - * @return boolean |
|
| 29 | + * @return boolean|null |
|
| 30 | 30 | */ |
| 31 | 31 | public function setSettings($settings) { |
| 32 | 32 | |
@@ -7,6 +7,9 @@ |
||
| 7 | 7 | { |
| 8 | 8 | const PAGE_TPL_DEFAULT = 'page_full'; |
| 9 | 9 | |
| 10 | + /** |
|
| 11 | + * @param integer $id |
|
| 12 | + */ |
|
| 10 | 13 | public function index($id) { |
| 11 | 14 | |
| 12 | 15 | $page = $this->model->getPage($id); |