@@ -135,6 +135,8 @@ |
||
| 135 | 135 | * Get value of category item |
| 136 | 136 | * |
| 137 | 137 | * @access public |
| 138 | + * @param string $param |
|
| 139 | + * @return string |
|
| 138 | 140 | */ |
| 139 | 141 | public function GetValue($cat_id, $param) { |
| 140 | 142 | if ($this->unsorted_arr == FALSE) { |
@@ -335,7 +335,7 @@ |
||
| 335 | 335 | } |
| 336 | 336 | |
| 337 | 337 | /** |
| 338 | - * @return array |
|
| 338 | + * @return string |
|
| 339 | 339 | */ |
| 340 | 340 | public function get_default_lang() { |
| 341 | 341 | if ($this->db) { |
@@ -79,7 +79,7 @@ discard block |
||
| 79 | 79 | |
| 80 | 80 | /** |
| 81 | 81 | * Check if widgets folder is writable |
| 82 | - * @return null|false |
|
| 82 | + * @return boolean |
|
| 83 | 83 | */ |
| 84 | 84 | private function _is_writable() { |
| 85 | 85 | $this->db->where('s_name', 'main'); |
@@ -96,7 +96,7 @@ discard block |
||
| 96 | 96 | } |
| 97 | 97 | |
| 98 | 98 | /** |
| 99 | - * @return bool |
|
| 99 | + * @return null|false |
|
| 100 | 100 | */ |
| 101 | 101 | public function create() { |
| 102 | 102 | if (!$this->_is_writable()) { |
@@ -336,7 +336,7 @@ discard block |
||
| 336 | 336 | * @param integer $id |
| 337 | 337 | * @param bool|FALSE $update_info |
| 338 | 338 | * @param null|string $locale |
| 339 | - * @return bool |
|
| 339 | + * @return false|null |
|
| 340 | 340 | */ |
| 341 | 341 | public function update_widget($id, $update_info = FALSE, $locale = NULL) { |
| 342 | 342 | //cp_check_perm('widget_access_settings'); |
@@ -609,7 +609,7 @@ |
||
| 609 | 609 | } |
| 610 | 610 | |
| 611 | 611 | /** |
| 612 | - * @param array $ids |
|
| 612 | + * @param string $ids |
|
| 613 | 613 | * @param string $module |
| 614 | 614 | * @param int $status |
| 615 | 615 | * @return array|void |
@@ -798,7 +798,7 @@ |
||
| 798 | 798 | /** |
| 799 | 799 | * Check user access for page |
| 800 | 800 | * @param array $roles |
| 801 | - * @return bool |
|
| 801 | + * @return boolean|null |
|
| 802 | 802 | */ |
| 803 | 803 | public function check_page_access($roles) { |
| 804 | 804 | |
@@ -828,6 +828,7 @@ |
||
| 828 | 828 | /** |
| 829 | 829 | * Method-helper for simplify processProducts1 method |
| 830 | 830 | * @param SimpleXMLElement $product |
| 831 | + * @param integer $categoryId |
|
| 831 | 832 | * @return array |
| 832 | 833 | */ |
| 833 | 834 | protected function pass1Helper_getPropertiesData(SimpleXMLElement $product, $categoryId) { |
@@ -73,7 +73,7 @@ discard block |
||
| 73 | 73 | * @author Kaero |
| 74 | 74 | * @copyright ImageCMS (c) 2012, Kaero <[email protected]> |
| 75 | 75 | * @param array $EmptyFields |
| 76 | - * @return bool |
|
| 76 | + * @return false|null |
|
| 77 | 77 | */ |
| 78 | 78 | public function make($EmptyFields) { |
| 79 | 79 | if (ImportBootstrap::hasErrors()) { |
@@ -571,7 +571,7 @@ discard block |
||
| 571 | 571 | * Update Shop Products Categories |
| 572 | 572 | * @param array $arg Processed arguments list |
| 573 | 573 | * @param integer $productId Product Id for alias |
| 574 | - * @param $EmptyFields |
|
| 574 | + * @param boolean $EmptyFields |
|
| 575 | 575 | * @return bool|null |
| 576 | 576 | * @author Kaero |
| 577 | 577 | * @copyright ImageCMS (c) 2012, Kaero <[email protected]> |
@@ -320,7 +320,7 @@ discard block |
||
| 320 | 320 | * @param integer $index номер элемента для натягивания шаблона |
| 321 | 321 | * @param string $wrapper натянутые шаблоны на всех всех наследников |
| 322 | 322 | * @access private |
| 323 | - * @return TRUE |
|
| 323 | + * @return boolean |
|
| 324 | 324 | */ |
| 325 | 325 | private function _prepare_item_tpl($index = 0, $wrapper = FALSE) { |
| 326 | 326 | if ($wrapper == TRUE) { |
@@ -355,9 +355,8 @@ discard block |
||
| 355 | 355 | /** |
| 356 | 356 | * Find sub menus |
| 357 | 357 | * |
| 358 | - * @param integer $id |
|
| 359 | 358 | * @access public |
| 360 | - * @return mixed |
|
| 359 | + * @return string|false |
|
| 361 | 360 | */ |
| 362 | 361 | private function _get_real_tpl($index = 0, $mode = "item") { |
| 363 | 362 | if ($mode == "item") { |
@@ -22,7 +22,7 @@ |
||
| 22 | 22 | |
| 23 | 23 | /** |
| 24 | 24 | * singelton method |
| 25 | - * @return object BaseDiscount |
|
| 25 | + * @return Discount_product BaseDiscount |
|
| 26 | 26 | */ |
| 27 | 27 | public static function create() { |
| 28 | 28 | if (!self::$object) { |