@@ -280,7 +280,7 @@ discard block |
||
280 | 280 | /** |
281 | 281 | * Check if Apache's mod_rewrite is installed. |
282 | 282 | * |
283 | - * @return boolean |
|
283 | + * @return null|boolean |
|
284 | 284 | */ |
285 | 285 | function is_url_rewrite() |
286 | 286 | { |
@@ -358,7 +358,7 @@ discard block |
||
358 | 358 | /** |
359 | 359 | * Checks if the URL is valid and contains the HTTP status code '200 OK', '301 Moved Permanently' or '302 Found' |
360 | 360 | * |
361 | - * @return string $sUrl |
|
361 | + * @return boolean $sUrl |
|
362 | 362 | * @return boolean |
363 | 363 | */ |
364 | 364 | function check_url($sUrl) |
@@ -376,7 +376,7 @@ discard block |
||
376 | 376 | * Check license key. |
377 | 377 | * |
378 | 378 | * @param string $sKey The License Key. |
379 | - * @return boolean |
|
379 | + * @return integer |
|
380 | 380 | */ |
381 | 381 | function check_license($sKey) |
382 | 382 | { |
@@ -169,6 +169,13 @@ |
||
169 | 169 | } |
170 | 170 | } |
171 | 171 | |
172 | +/** |
|
173 | + * @param string $name |
|
174 | + * @param string $extra |
|
175 | + * @param string $separator |
|
176 | + * @param boolean $labels |
|
177 | + * @param boolean $label_ids |
|
178 | + */ |
|
172 | 179 | function smarty_function_html_checkboxes_output($name, $value, $output, $selected, $extra, $separator, $labels, $label_ids, $escape = true) |
173 | 180 | { |
174 | 181 | $_output = ''; |
@@ -184,6 +184,10 @@ |
||
184 | 184 | return $_html_result; |
185 | 185 | } |
186 | 186 | |
187 | +/** |
|
188 | + * @param string|null $id |
|
189 | + * @param integer $idx |
|
190 | + */ |
|
187 | 191 | function smarty_function_html_options_optgroup($key, $values, $selected, $id, $class, &$idx) |
188 | 192 | { |
189 | 193 | $optgroup_html = '<optgroup label="' . smarty_function_escape_special_chars($key) . '">' . "\n"; |
@@ -157,6 +157,14 @@ |
||
157 | 157 | } |
158 | 158 | } |
159 | 159 | |
160 | +/** |
|
161 | + * @param string $name |
|
162 | + * @param string $extra |
|
163 | + * @param string $separator |
|
164 | + * @param boolean $labels |
|
165 | + * @param boolean $label_ids |
|
166 | + * @param boolean $escape |
|
167 | + */ |
|
160 | 168 | function smarty_function_html_radios_output($name, $value, $output, $selected, $extra, $separator, $labels, $label_ids, $escape) |
161 | 169 | { |
162 | 170 | $_output = ''; |
@@ -164,6 +164,10 @@ |
||
164 | 164 | return $output; |
165 | 165 | } |
166 | 166 | |
167 | +/** |
|
168 | + * @param string $name |
|
169 | + * @param string $var |
|
170 | + */ |
|
167 | 171 | function smarty_function_html_table_cycle($name, $var, $no) |
168 | 172 | { |
169 | 173 | if (!is_array($var)) { |
@@ -258,6 +258,7 @@ discard block |
||
258 | 258 | * {@internal the header uses 8 Bytes, the first 4 Bytes are the seconds, the second 4 Bytes are the microseconds}} |
259 | 259 | * |
260 | 260 | * @param string &$content the content to be cached |
261 | + * @param string $content |
|
261 | 262 | */ |
262 | 263 | protected function addMetaTimestamp(&$content) |
263 | 264 | { |
@@ -364,7 +365,7 @@ discard block |
||
364 | 365 | * @param string $compile_id compile id |
365 | 366 | * @param string $resource_uid source's filepath |
366 | 367 | * |
367 | - * @return array list of InvalidationKeys |
|
368 | + * @return string[] list of InvalidationKeys |
|
368 | 369 | * @uses $invalidationKeyPrefix to prepend to each InvalidationKey |
369 | 370 | */ |
370 | 371 | protected function listInvalidationKeys($cid, $resource_name = null, $cache_id = null, $compile_id = null, $resource_uid = null) |
@@ -456,7 +457,7 @@ discard block |
||
456 | 457 | /** |
457 | 458 | * Read values for a set of keys from cache |
458 | 459 | * |
459 | - * @param array $keys list of keys to fetch |
|
460 | + * @param string[] $keys list of keys to fetch |
|
460 | 461 | * |
461 | 462 | * @return array list of values with the given keys used as indexes |
462 | 463 | */ |
@@ -475,7 +476,7 @@ discard block |
||
475 | 476 | /** |
476 | 477 | * Remove values from cache |
477 | 478 | * |
478 | - * @param array $keys list of keys to delete |
|
479 | + * @param string[] $keys list of keys to delete |
|
479 | 480 | * |
480 | 481 | * @return boolean true on success, false on failure |
481 | 482 | */ |
@@ -20,7 +20,7 @@ |
||
20 | 20 | * Check table. |
21 | 21 | * |
22 | 22 | * @param string $sTable |
23 | - * @return mixed (string or void) Returns the table if it is correct. |
|
23 | + * @return string|null (string or void) Returns the table if it is correct. |
|
24 | 24 | * @see \PH7\Framework\Mvc\Model\Engine\Util\Various::launchErr() |
25 | 25 | * @throws \PH7\Framework\Mvc\Model\Engine\Util\Various::launchErr() If the table is not valid. |
26 | 26 | */ |
@@ -24,7 +24,7 @@ |
||
24 | 24 | * |
25 | 25 | * @param string $sMod |
26 | 26 | * @param boolean $bPrint Print or Return the HTML code. Default TRUE |
27 | - * @return void |
|
27 | + * @return null|string |
|
28 | 28 | */ |
29 | 29 | public static function link($sMod, $bPrint = true) |
30 | 30 | { |
@@ -30,7 +30,7 @@ |
||
30 | 30 | /** |
31 | 31 | * Gets the XML links. |
32 | 32 | * |
33 | - * @param integet $iNum Number of news to get. Default: 10 |
|
33 | + * @param integer $iNum Number of news to get. Default: 10 |
|
34 | 34 | * @return array The XML tree. |
35 | 35 | * @throws \PH7\Framework\Error\CException\PH7Exception If the Feed URL is not valid. |
36 | 36 | */ |