@@ -122,12 +122,19 @@ |
||
122 | 122 | } |
123 | 123 | |
124 | 124 | |
125 | +/** |
|
126 | + * @param integer $cache_id |
|
127 | + * @param integer $old_logtype |
|
128 | + */ |
|
125 | 129 | function logtype_ok($cache_id, $logtype_id, $old_logtype, $statusLogs = true) |
126 | 130 | { |
127 | 131 | return in_array($logtype_id, get_cache_log_types($cache_id, $old_logtype, $statusLogs)); |
128 | 132 | } |
129 | 133 | |
130 | 134 | |
135 | +/** |
|
136 | + * @param integer $cache_id |
|
137 | + */ |
|
131 | 138 | function teamcomment_allowed($cache_id, $logtype_id, $old_teamcomment = false) |
132 | 139 | { |
133 | 140 | global $login, $opt; |
@@ -9,6 +9,9 @@ |
||
9 | 9 | |
10 | 10 | public $reUser; |
11 | 11 | |
12 | + /** |
|
13 | + * @param integer $nNewUserId |
|
14 | + */ |
|
12 | 15 | public function __construct($nNewUserId) |
13 | 16 | { |
14 | 17 | $this->reUser = new rowEditor('user'); |
@@ -27,6 +27,10 @@ |
||
27 | 27 | return $aItems; |
28 | 28 | } |
29 | 29 | |
30 | +/** |
|
31 | + * @param integer $parentId |
|
32 | + * @param integer $sublevel |
|
33 | + */ |
|
30 | 34 | function pAppendSites($parentId, $viewall, $sublevel, &$aItems) |
31 | 35 | { |
32 | 36 | global $opt; |
@@ -22,6 +22,10 @@ |
||
22 | 22 | $this->longitude = $longitude; |
23 | 23 | } |
24 | 24 | |
25 | + /** |
|
26 | + * @param boolean $latHem |
|
27 | + * @param boolean $lonHem |
|
28 | + */ |
|
25 | 29 | public static function fromHemDegMin($latHem, $latDeg, $latMin, $lonHem, $lonDeg, $lonMin) |
26 | 30 | { |
27 | 31 | $latitude = self::hemDegMinToFloat($latHem, $latDeg, $latMin); |
@@ -576,7 +576,7 @@ |
||
576 | 576 | } |
577 | 577 | |
578 | 578 | /** |
579 | - * @param $d |
|
579 | + * @param integer $d |
|
580 | 580 | * @param int $n |
581 | 581 | * |
582 | 582 | * @return string |
@@ -113,6 +113,9 @@ discard block |
||
113 | 113 | return 0; |
114 | 114 | } |
115 | 115 | |
116 | + /** |
|
117 | + * @return string |
|
118 | + */ |
|
116 | 119 | public static function landFromLocid($locid) |
117 | 120 | { |
118 | 121 | if (!is_numeric($locid)) { |
@@ -140,6 +143,9 @@ discard block |
||
140 | 143 | return ''; |
141 | 144 | } |
142 | 145 | |
146 | + /** |
|
147 | + * @return string |
|
148 | + */ |
|
143 | 149 | public static function regierungsbezirkFromLocid($locid) |
144 | 150 | { |
145 | 151 | if (!is_numeric($locid)) { |
@@ -166,6 +172,9 @@ discard block |
||
166 | 172 | return ''; |
167 | 173 | } |
168 | 174 | |
175 | + /** |
|
176 | + * @return string |
|
177 | + */ |
|
169 | 178 | public static function landkreisFromLocid($locid) |
170 | 179 | { |
171 | 180 | if (!is_numeric($locid)) { |
@@ -504,6 +504,9 @@ |
||
504 | 504 | ); |
505 | 505 | } |
506 | 506 | |
507 | +/** |
|
508 | + * @param string $watchtext |
|
509 | + */ |
|
507 | 510 | function insert_recommendation($rLog, $language, $watchtext) |
508 | 511 | { |
509 | 512 | global $translate; |
@@ -716,7 +716,7 @@ |
||
716 | 716 | } |
717 | 717 | |
718 | 718 | /** |
719 | - * @return bool|string |
|
719 | + * @return string|false |
|
720 | 720 | */ |
721 | 721 | public function getPageLink() |
722 | 722 | { |
@@ -399,7 +399,7 @@ discard block |
||
399 | 399 | /** |
400 | 400 | * @deprecated use DBAL Conenction instead. See adminreports.php for an example implementation |
401 | 401 | * @param $value |
402 | - * @return false|string |
|
402 | + * @return string |
|
403 | 403 | */ |
404 | 404 | function sql_escape($value) |
405 | 405 | { |
@@ -413,7 +413,7 @@ discard block |
||
413 | 413 | /** |
414 | 414 | * @deprecated use DBAL Conenction instead. See adminreports.php for an example implementation |
415 | 415 | * @param $value |
416 | - * @return false|mixed|string |
|
416 | + * @return string |
|
417 | 417 | */ |
418 | 418 | function sql_escape_backtick($value) |
419 | 419 | { |