@@ -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) { |
@@ -42,7 +42,7 @@ discard block |
||
| 42 | 42 | |
| 43 | 43 | /** |
| 44 | 44 | * add item to wishlist |
| 45 | - * @param $varId |
|
| 45 | + * @param integer $varId |
|
| 46 | 46 | * @param $listId |
| 47 | 47 | * @param $listName |
| 48 | 48 | * @return mixed |
@@ -64,8 +64,8 @@ discard block |
||
| 64 | 64 | |
| 65 | 65 | /** |
| 66 | 66 | * move item |
| 67 | - * @param $varId |
|
| 68 | - * @param $wish_list_id |
|
| 67 | + * @param integer $varId |
|
| 68 | + * @param integer $wish_list_id |
|
| 69 | 69 | * @return mixed |
| 70 | 70 | */ |
| 71 | 71 | public function moveItem($varId, $wish_list_id) { |
@@ -86,7 +86,7 @@ discard block |
||
| 86 | 86 | |
| 87 | 87 | /** |
| 88 | 88 | * show WL by hash |
| 89 | - * @param $hash |
|
| 89 | + * @param string $hash |
|
| 90 | 90 | * @return boolean |
| 91 | 91 | */ |
| 92 | 92 | public function show($hash) { |
@@ -113,7 +113,7 @@ discard block |
||
| 113 | 113 | |
| 114 | 114 | /** |
| 115 | 115 | * get user by id |
| 116 | - * @param $user_id |
|
| 116 | + * @param integer $user_id |
|
| 117 | 117 | * @return boolean |
| 118 | 118 | */ |
| 119 | 119 | public function user($user_id) { |
@@ -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 | |
@@ -505,6 +505,9 @@ discard block |
||
| 505 | 505 | Returning value if permission found, otherwise returning NULL |
| 506 | 506 | */ |
| 507 | 507 | |
| 508 | + /** |
|
| 509 | + * @param string $key |
|
| 510 | + */ |
|
| 508 | 511 | public function get_permission_value($key, $check_parent = TRUE) { |
| 509 | 512 | // Default return value |
| 510 | 513 | $result = NULL; |
@@ -627,6 +630,9 @@ discard block |
||
| 627 | 630 | |
| 628 | 631 | // Get useremail string |
| 629 | 632 | |
| 633 | + /** |
|
| 634 | + * @return string |
|
| 635 | + */ |
|
| 630 | 636 | public function get_user_email() { |
| 631 | 637 | $user = $this->ci->db |
| 632 | 638 | ->where('id', $this->get_user_id()) |