@@ -164,7 +164,7 @@ |
||
| 164 | 164 | } |
| 165 | 165 | |
| 166 | 166 | /** |
| 167 | - * @param $field |
|
| 167 | + * @param string $field |
|
| 168 | 168 | * @return bool |
| 169 | 169 | */ |
| 170 | 170 | public function fieldExists($field) |
@@ -197,7 +197,7 @@ discard block |
||
| 197 | 197 | /** |
| 198 | 198 | * @param $val |
| 199 | 199 | * @param $separator |
| 200 | - * @param $trimFunction |
|
| 200 | + * @param false|string $trimFunction |
|
| 201 | 201 | * @return mixed|string |
| 202 | 202 | */ |
| 203 | 203 | public function valToCsvHelper($val, $separator, $trimFunction) |
@@ -248,7 +248,7 @@ discard block |
||
| 248 | 248 | } |
| 249 | 249 | |
| 250 | 250 | /** |
| 251 | - * @param $content |
|
| 251 | + * @param string $content |
|
| 252 | 252 | */ |
| 253 | 253 | public function saveExportFile($content) |
| 254 | 254 | { |
@@ -165,7 +165,7 @@ discard block |
||
| 165 | 165 | } |
| 166 | 166 | |
| 167 | 167 | /** |
| 168 | - * @param $keywords |
|
| 168 | + * @param string|boolean $keywords |
|
| 169 | 169 | */ |
| 170 | 170 | public function setKeywords($keywords) |
| 171 | 171 | { |
@@ -173,7 +173,7 @@ discard block |
||
| 173 | 173 | } |
| 174 | 174 | |
| 175 | 175 | /** |
| 176 | - * @param $categoryPath |
|
| 176 | + * @param boolean $categoryPath |
|
| 177 | 177 | */ |
| 178 | 178 | public function setCategoryPath($categoryPath) |
| 179 | 179 | { |
@@ -182,7 +182,7 @@ discard block |
||
| 182 | 182 | } |
| 183 | 183 | |
| 184 | 184 | /** |
| 185 | - * @param $description |
|
| 185 | + * @param boolean $description |
|
| 186 | 186 | */ |
| 187 | 187 | public function setDescription($description) |
| 188 | 188 | { |
@@ -242,8 +242,8 @@ discard block |
||
| 242 | 242 | } |
| 243 | 243 | |
| 244 | 244 | /** |
| 245 | - * @param $text |
|
| 246 | - * @param $minChar |
|
| 245 | + * @param string $text |
|
| 246 | + * @param integer $minChar |
|
| 247 | 247 | * @return array |
| 248 | 248 | */ |
| 249 | 249 | public function findMetaKeywords($text, $minChar) |
@@ -33,7 +33,7 @@ |
||
| 33 | 33 | |
| 34 | 34 | /** |
| 35 | 35 | * SmartObjectColumn constructor. |
| 36 | - * @param $keyname |
|
| 36 | + * @param string $keyname |
|
| 37 | 37 | * @param string $align |
| 38 | 38 | * @param bool $width |
| 39 | 39 | * @param bool $customMethodForValue |
@@ -126,9 +126,9 @@ discard block |
||
| 126 | 126 | |
| 127 | 127 | /** |
| 128 | 128 | * @param $smartObj |
| 129 | - * @param $objectid |
|
| 130 | - * @param $created_success_msg |
|
| 131 | - * @param $modified_success_msg |
|
| 129 | + * @param integer $objectid |
|
| 130 | + * @param string $created_success_msg |
|
| 131 | + * @param string $modified_success_msg |
|
| 132 | 132 | * @param bool $redirect_page |
| 133 | 133 | * @param bool $debug |
| 134 | 134 | * @return mixed |
@@ -440,7 +440,7 @@ discard block |
||
| 440 | 440 | } |
| 441 | 441 | |
| 442 | 442 | /** |
| 443 | - * @param $smartObj |
|
| 443 | + * @param SmartMlObject $smartObj |
|
| 444 | 444 | * @param bool $onlyUrl |
| 445 | 445 | * @param bool $withimage |
| 446 | 446 | * @return string |
@@ -498,7 +498,7 @@ discard block |
||
| 498 | 498 | } |
| 499 | 499 | |
| 500 | 500 | /** |
| 501 | - * @param $smartObj |
|
| 501 | + * @param BaseSmartObject $smartObj |
|
| 502 | 502 | * @return string |
| 503 | 503 | */ |
| 504 | 504 | public function getPrintAndMailLink($smartObj) |
@@ -143,7 +143,7 @@ discard block |
||
| 143 | 143 | /** |
| 144 | 144 | * Use to update a table |
| 145 | 145 | * |
| 146 | - * @param object $table {@link SmartDbTable} that will be updated |
|
| 146 | + * @param SmartDbTable $table {@link SmartDbTable} that will be updated |
|
| 147 | 147 | * |
| 148 | 148 | * @see SmartDbTable |
| 149 | 149 | * |
@@ -245,7 +245,7 @@ discard block |
||
| 245 | 245 | /** |
| 246 | 246 | * @param $module |
| 247 | 247 | * @param $item |
| 248 | - * @return bool |
|
| 248 | + * @return false|null |
|
| 249 | 249 | */ |
| 250 | 250 | public function upgradeObjectItem($module, $item) |
| 251 | 251 | { |
@@ -61,7 +61,7 @@ |
||
| 61 | 61 | * @access public |
| 62 | 62 | * @param string $key key of the object's variable to be returned |
| 63 | 63 | * @param string $format format to use for the output |
| 64 | - * @return mixed formatted value of the variable |
|
| 64 | + * @return integer formatted value of the variable |
|
| 65 | 65 | */ |
| 66 | 66 | public function getVar($key, $format = 's') |
| 67 | 67 | { |
@@ -228,7 +228,7 @@ |
||
| 228 | 228 | * Creates a random number with a specified number of $digits |
| 229 | 229 | * |
| 230 | 230 | * @param int $digits number of digits |
| 231 | - * @return int random number |
|
| 231 | + * @return string random number |
|
| 232 | 232 | * @author xHelp Team |
| 233 | 233 | * |
| 234 | 234 | * @access public |
@@ -32,7 +32,7 @@ |
||
| 32 | 32 | */ |
| 33 | 33 | /** |
| 34 | 34 | * @param $gperm_name |
| 35 | - * @param null $id |
|
| 35 | + * @param integer $id |
|
| 36 | 36 | * @return array |
| 37 | 37 | */ |
| 38 | 38 | public function getGrantedGroups($gperm_name, $id = null) |