@@ -165,7 +165,7 @@ discard block |
||
| 165 | 165 | } |
| 166 | 166 | |
| 167 | 167 | /** |
| 168 | - * @param $key |
|
| 168 | + * @param string $key |
|
| 169 | 169 | * @param $data_type |
| 170 | 170 | * @param bool $itemName |
| 171 | 171 | * @param string $form_caption |
@@ -193,7 +193,7 @@ discard block |
||
| 193 | 193 | * @param bool $required set to TRUE if this variable needs to have a value set before storing the object in the table |
| 194 | 194 | * @param string $form_caption caption of this variable in a {@link SmartobjectForm} and title of a column in a {@link SmartObjectTable} |
| 195 | 195 | * @param string $form_dsc description of this variable in a {@link SmartobjectForm} |
| 196 | - * @param mixed $value default value of this variable |
|
| 196 | + * @param string|false $value default value of this variable |
|
| 197 | 197 | */ |
| 198 | 198 | public function quickInitVar($key, $data_type, $required = false, $form_caption = '', $form_dsc = '', $value = null) |
| 199 | 199 | { |
@@ -202,7 +202,7 @@ discard block |
||
| 202 | 202 | } |
| 203 | 203 | |
| 204 | 204 | /** |
| 205 | - * @param $varname |
|
| 205 | + * @param string $varname |
|
| 206 | 206 | * @param bool $displayOnForm |
| 207 | 207 | * @param string $default |
| 208 | 208 | */ |
@@ -458,7 +458,7 @@ discard block |
||
| 458 | 458 | /** |
| 459 | 459 | * add an error |
| 460 | 460 | * |
| 461 | - * @param $err_str |
|
| 461 | + * @param string $err_str |
|
| 462 | 462 | * @param bool $prefix |
| 463 | 463 | * @internal param string $value error to add |
| 464 | 464 | * @access public |
@@ -720,8 +720,8 @@ discard block |
||
| 720 | 720 | |
| 721 | 721 | /** |
| 722 | 722 | * @param $key |
| 723 | - * @param $info |
|
| 724 | - * @param $value |
|
| 723 | + * @param string $info |
|
| 724 | + * @param boolean $value |
|
| 725 | 725 | */ |
| 726 | 726 | public function setVarInfo($key, $info, $value) |
| 727 | 727 | { |
@@ -729,7 +729,7 @@ discard block |
||
| 729 | 729 | } |
| 730 | 730 | |
| 731 | 731 | /** |
| 732 | - * @param $key |
|
| 732 | + * @param string $key |
|
| 733 | 733 | * @param bool $editor |
| 734 | 734 | * @return string |
| 735 | 735 | */ |
@@ -906,7 +906,7 @@ discard block |
||
| 906 | 906 | * @access public |
| 907 | 907 | * @param string $key key of the object's variable to be returned |
| 908 | 908 | * @param string $format format to use for the output |
| 909 | - * @return mixed formatted value of the variable |
|
| 909 | + * @return string formatted value of the variable |
|
| 910 | 910 | */ |
| 911 | 911 | public function getVar($key, $format = 's') |
| 912 | 912 | { |
@@ -1209,7 +1209,7 @@ discard block |
||
| 1209 | 1209 | } |
| 1210 | 1210 | |
| 1211 | 1211 | /** |
| 1212 | - * @param $key |
|
| 1212 | + * @param string $key |
|
| 1213 | 1213 | */ |
| 1214 | 1214 | public function hideFieldFromForm($key) |
| 1215 | 1215 | { |
@@ -123,9 +123,9 @@ discard block |
||
| 123 | 123 | |
| 124 | 124 | /** |
| 125 | 125 | * @param $smartObj |
| 126 | - * @param $objectid |
|
| 127 | - * @param $created_success_msg |
|
| 128 | - * @param $modified_success_msg |
|
| 126 | + * @param integer $objectid |
|
| 127 | + * @param string $created_success_msg |
|
| 128 | + * @param string $modified_success_msg |
|
| 129 | 129 | * @param bool $redirect_page |
| 130 | 130 | * @param bool $debug |
| 131 | 131 | * @return mixed |
@@ -289,7 +289,7 @@ discard block |
||
| 289 | 289 | * @param bool $confirm_msg |
| 290 | 290 | * @param string $op |
| 291 | 291 | * @param bool $userSide |
| 292 | - * @return bool |
|
| 292 | + * @return boolean|null |
|
| 293 | 293 | * @internal param string $redir_page redirect page after deleting the object |
| 294 | 294 | */ |
| 295 | 295 | public function handleObjectDeletion($confirm_msg = false, $op = 'del', $userSide = false) |
@@ -443,7 +443,7 @@ discard block |
||
| 443 | 443 | } |
| 444 | 444 | |
| 445 | 445 | /** |
| 446 | - * @param $smartObj |
|
| 446 | + * @param SmartMlObject $smartObj |
|
| 447 | 447 | * @param bool $onlyUrl |
| 448 | 448 | * @param bool $withimage |
| 449 | 449 | * @return string |
@@ -533,7 +533,7 @@ discard block |
||
| 533 | 533 | } |
| 534 | 534 | |
| 535 | 535 | /** |
| 536 | - * @param $smartObj |
|
| 536 | + * @param SmartObject $smartObj |
|
| 537 | 537 | * @return string |
| 538 | 538 | */ |
| 539 | 539 | public function getPrintAndMailLink($smartObj) |
@@ -132,10 +132,10 @@ discard block |
||
| 132 | 132 | * |
| 133 | 133 | * @param XoopsDatabase $db {@link XoopsDatabase} |
| 134 | 134 | * object |
| 135 | - * @param $itemname |
|
| 135 | + * @param string $itemname |
|
| 136 | 136 | * @param string $keyname Name of the table key that uniquely identify each {@link SmartObject} |
| 137 | 137 | * @param string $idenfierName Name of the field which properly identify the {@link SmartObject} |
| 138 | - * @param $summaryName |
|
| 138 | + * @param string $summaryName |
|
| 139 | 139 | * @param $modulename |
| 140 | 140 | * @internal param string $tablename Name of the table use to store this <a href='psi_element://SmartObject'>SmartObject</a> |
| 141 | 141 | * @internal param Name $string of the class derived from <a href='psi_element://SmartObject'>SmartObject</a> and which this handler is handling and which this handler is handling |
@@ -191,7 +191,7 @@ discard block |
||
| 191 | 191 | |
| 192 | 192 | /** |
| 193 | 193 | * @param $criteria |
| 194 | - * @param $perm_name |
|
| 194 | + * @param boolean $perm_name |
|
| 195 | 195 | * @return bool |
| 196 | 196 | */ |
| 197 | 197 | public function setGrantedObjectsCriteria(&$criteria, $perm_name) |
@@ -375,7 +375,7 @@ discard block |
||
| 375 | 375 | } |
| 376 | 376 | |
| 377 | 377 | /** |
| 378 | - * @param $sql |
|
| 378 | + * @param string $sql |
|
| 379 | 379 | * @param $criteria |
| 380 | 380 | * @param bool $force |
| 381 | 381 | * @param bool $debug |
@@ -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) |
@@ -18,7 +18,7 @@ |
||
| 18 | 18 | /** |
| 19 | 19 | * Access the only instance of this class |
| 20 | 20 | * |
| 21 | - * @return XoopsObject |
|
| 21 | + * @return SmartObjectsRegistry |
|
| 22 | 22 | * |
| 23 | 23 | * @static |
| 24 | 24 | * @staticvar object |
@@ -325,7 +325,7 @@ discard block |
||
| 325 | 325 | } |
| 326 | 326 | |
| 327 | 327 | /** |
| 328 | - * @param $key |
|
| 328 | + * @param string $key |
|
| 329 | 329 | * @param bool $moduleName |
| 330 | 330 | * @param string $default |
| 331 | 331 | * @return null|string |
@@ -387,7 +387,7 @@ discard block |
||
| 387 | 387 | |
| 388 | 388 | /** |
| 389 | 389 | * Thanks to the NewBB2 Development Team |
| 390 | - * @param $target |
|
| 390 | + * @param string $target |
|
| 391 | 391 | * @return bool |
| 392 | 392 | */ |
| 393 | 393 | function smart_admin_mkdir($target) |
@@ -540,7 +540,7 @@ discard block |
||
| 540 | 540 | |
| 541 | 541 | /** |
| 542 | 542 | * @param $dirname |
| 543 | - * @return bool |
|
| 543 | + * @return boolean|null |
|
| 544 | 544 | */ |
| 545 | 545 | function smart_deleteFile($dirname) |
| 546 | 546 | { |
@@ -755,7 +755,7 @@ discard block |
||
| 755 | 755 | } |
| 756 | 756 | |
| 757 | 757 | /** |
| 758 | - * @param $name |
|
| 758 | + * @param string $name |
|
| 759 | 759 | */ |
| 760 | 760 | function smart_close_collapsable($name) |
| 761 | 761 | { |
@@ -765,7 +765,7 @@ discard block |
||
| 765 | 765 | } |
| 766 | 766 | |
| 767 | 767 | /** |
| 768 | - * @param $name |
|
| 768 | + * @param string $name |
|
| 769 | 769 | * @param $value |
| 770 | 770 | * @param int $time |
| 771 | 771 | */ |
@@ -779,7 +779,7 @@ discard block |
||
| 779 | 779 | } |
| 780 | 780 | |
| 781 | 781 | /** |
| 782 | - * @param $name |
|
| 782 | + * @param string $name |
|
| 783 | 783 | * @param string $default |
| 784 | 784 | * @return string |
| 785 | 785 | */ |
@@ -938,7 +938,7 @@ discard block |
||
| 938 | 938 | } |
| 939 | 939 | |
| 940 | 940 | /** |
| 941 | - * @param $src |
|
| 941 | + * @param string $src |
|
| 942 | 942 | */ |
| 943 | 943 | function smart_addScript($src) |
| 944 | 944 | { |
@@ -1115,8 +1115,8 @@ discard block |
||
| 1115 | 1115 | } |
| 1116 | 1116 | |
| 1117 | 1117 | /** |
| 1118 | - * @param $module |
|
| 1119 | - * @param $file |
|
| 1118 | + * @param string $module |
|
| 1119 | + * @param string $file |
|
| 1120 | 1120 | */ |
| 1121 | 1121 | function smart_loadLanguageFile($module, $file) |
| 1122 | 1122 | { |
@@ -1232,7 +1232,7 @@ discard block |
||
| 1232 | 1232 | * This function should be able to cover almost all floats that appear in an european environment. |
| 1233 | 1233 | * @param $str |
| 1234 | 1234 | * @param bool $set |
| 1235 | - * @return float|int |
|
| 1235 | + * @return double |
|
| 1236 | 1236 | */ |
| 1237 | 1237 | function smart_getfloat($str, $set = false) |
| 1238 | 1238 | { |
@@ -1267,7 +1267,7 @@ discard block |
||
| 1267 | 1267 | /** |
| 1268 | 1268 | * @param $var |
| 1269 | 1269 | * @param bool $currencyObj |
| 1270 | - * @return float|int|mixed|string |
|
| 1270 | + * @return string |
|
| 1271 | 1271 | */ |
| 1272 | 1272 | function smart_currency($var, $currencyObj = false) |
| 1273 | 1273 | { |
@@ -1295,7 +1295,7 @@ discard block |
||
| 1295 | 1295 | |
| 1296 | 1296 | /** |
| 1297 | 1297 | * @param $var |
| 1298 | - * @return float|int|mixed|string |
|
| 1298 | + * @return string |
|
| 1299 | 1299 | */ |
| 1300 | 1300 | function smart_float($var) |
| 1301 | 1301 | { |
@@ -1343,7 +1343,7 @@ discard block |
||
| 1343 | 1343 | /** |
| 1344 | 1344 | * @param $moduleName |
| 1345 | 1345 | * @param $items |
| 1346 | - * @return array |
|
| 1346 | + * @return string[] |
|
| 1347 | 1347 | */ |
| 1348 | 1348 | function smart_getTablesArray($moduleName, $items) |
| 1349 | 1349 | { |