@@ -228,6 +228,9 @@ |
||
| 228 | 228 | return $str; |
| 229 | 229 | } |
| 230 | 230 | |
| 231 | +/** |
|
| 232 | + * @param string $str |
|
| 233 | + */ |
|
| 231 | 234 | function lf2crlf($str) |
| 232 | 235 | { |
| 233 | 236 | return mb_ereg_replace("\r\r\n", "\r\n", mb_ereg_replace("\n", "\r\n", $str)); |
@@ -28,6 +28,9 @@ discard block |
||
| 28 | 28 | $this->translator = $this->initTranslator($translator); |
| 29 | 29 | } |
| 30 | 30 | |
| 31 | + /** |
|
| 32 | + * @param boolean $request |
|
| 33 | + */ |
|
| 31 | 34 | private function initRequest($request) |
| 32 | 35 | { |
| 33 | 36 | if ($request) { |
@@ -37,6 +40,9 @@ discard block |
||
| 37 | 40 | return new RequestHttp(); |
| 38 | 41 | } |
| 39 | 42 | |
| 43 | + /** |
|
| 44 | + * @param boolean $translator |
|
| 45 | + */ |
|
| 40 | 46 | private function initTranslator($translator) |
| 41 | 47 | { |
| 42 | 48 | if ($translator) { |
@@ -506,6 +506,9 @@ |
||
| 506 | 506 | return mysql_fetch_assoc($rs); |
| 507 | 507 | } |
| 508 | 508 | |
| 509 | +/** |
|
| 510 | + * @param resource $rs |
|
| 511 | + */ |
|
| 509 | 512 | function sql_fetch_row($rs) |
| 510 | 513 | { |
| 511 | 514 | return mysql_fetch_row($rs); |
@@ -34,8 +34,7 @@ |
||
| 34 | 34 | public $cdir = []; |
| 35 | 35 | |
| 36 | 36 | /** constructor |
| 37 | - |
|
| 38 | -* |
|
| 37 | + * |
|
| 39 | 38 | *@param string $zipFile if not empty must contain path to valid zip file, ss_zip will try to open and parse it. |
| 40 | 39 | * If this parameter is empty, the new empty zip archive is created. This parameter has no meaning in |
| 41 | 40 | * LIGHT verion, please upgrade to PROfessional version. |
@@ -692,7 +692,7 @@ discard block |
||
| 692 | 692 | } |
| 693 | 693 | |
| 694 | 694 | /** |
| 695 | - * @return bool|string |
|
| 695 | + * @return string|false |
|
| 696 | 696 | */ |
| 697 | 697 | public function getPageLink() |
| 698 | 698 | { |
@@ -724,7 +724,7 @@ discard block |
||
| 724 | 724 | /** |
| 725 | 725 | * @param $tmpFile |
| 726 | 726 | * @param $longSideSize |
| 727 | - * @return bool |
|
| 727 | + * @return null|boolean |
|
| 728 | 728 | */ |
| 729 | 729 | public function rotate_and_shrink($tmpFile, $longSideSize) |
| 730 | 730 | { |
@@ -205,7 +205,7 @@ |
||
| 205 | 205 | |
| 206 | 206 | /** |
| 207 | 207 | * @param string $str |
| 208 | - * @return mixed |
|
| 208 | + * @return string |
|
| 209 | 209 | */ |
| 210 | 210 | function lf2crlf($str) |
| 211 | 211 | { |
@@ -1256,7 +1256,7 @@ |
||
| 1256 | 1256 | } |
| 1257 | 1257 | |
| 1258 | 1258 | /** |
| 1259 | - * @param $f |
|
| 1259 | + * @param resource $f |
|
| 1260 | 1260 | * @param resource $rs |
| 1261 | 1261 | * @param $table |
| 1262 | 1262 | * @param bool $truncate |
@@ -86,7 +86,7 @@ |
||
| 86 | 86 | |
| 87 | 87 | $db['debug'] = (($opt['debug'] & DEBUG_SQLDEBUGGER) == DEBUG_SQLDEBUGGER); |
| 88 | 88 | if ($db['debug'] === true) { |
| 89 | - require_once __DIR__ . '/sqldebugger.class.php'; |
|
| 89 | + require_once __DIR__ . '/sqldebugger.class.php'; |
|
| 90 | 90 | } |
| 91 | 91 | |
| 92 | 92 | |
@@ -577,7 +577,7 @@ |
||
| 577 | 577 | } |
| 578 | 578 | |
| 579 | 579 | /** |
| 580 | - * @param $d |
|
| 580 | + * @param integer $d |
|
| 581 | 581 | * @param integer $n |
| 582 | 582 | * |
| 583 | 583 | * @return string |
@@ -802,6 +802,9 @@ |
||
| 802 | 802 | return ''; |
| 803 | 803 | } |
| 804 | 804 | |
| 805 | +/** |
|
| 806 | + * @return string |
|
| 807 | + */ |
|
| 805 | 808 | function get_logtype_name($logtype, $language) |
| 806 | 809 | { |
| 807 | 810 | return sqlValue( |