@@ -959,7 +959,7 @@ |
||
959 | 959 | * Send raw data to the server. |
960 | 960 | * @param string $data The data to send |
961 | 961 | * @access public |
962 | - * @return integer|boolean The number of bytes sent to the server or false on error |
|
962 | + * @return integer The number of bytes sent to the server or false on error |
|
963 | 963 | */ |
964 | 964 | public function client_send($data) |
965 | 965 | { |
@@ -44,7 +44,7 @@ discard block |
||
44 | 44 | * @param string $table_link table of linked object for JOIN; deprecated, for backward compatibility |
45 | 45 | * @param string $field_link field of linked object for JOIN; deprecated, for backward compatibility |
46 | 46 | * @param string $field_object field of current object for JOIN; deprecated, for backward compatibility |
47 | - * @return bool true on success |
|
47 | + * @return null|boolean true on success |
|
48 | 48 | */ |
49 | 49 | public function cleanOrphan($table_link = '', $field_link = '', $field_object = '') |
50 | 50 | { |
@@ -84,7 +84,7 @@ discard block |
||
84 | 84 | * Synchronizing objects |
85 | 85 | * @deprecated |
86 | 86 | * |
87 | - * @return bool true on success |
|
87 | + * @return null|boolean true on success |
|
88 | 88 | */ |
89 | 89 | public function synchronization() |
90 | 90 | { |
@@ -189,7 +189,7 @@ discard block |
||
189 | 189 | * Get all global or section variable names. |
190 | 190 | * |
191 | 191 | * @param string $file_name config file to get info for |
192 | - * @param string $section_name (optional) section to get info for |
|
192 | + * @param string $section (optional) section to get info for |
|
193 | 193 | * @return array an array of variables names from the specified file/section |
194 | 194 | */ |
195 | 195 | function get_var_names($file_name, $section = NULL) |
@@ -345,7 +345,7 @@ discard block |
||
345 | 345 | /** |
346 | 346 | * @param array &$container |
347 | 347 | * @param string $var_name |
348 | - * @param mixed $var_value |
|
348 | + * @param string $var_value |
|
349 | 349 | * @param boolean $booleanize determines whether $var_value is converted to |
350 | 350 | * to true/false |
351 | 351 | */ |
@@ -8,8 +8,7 @@ |
||
8 | 8 | /** |
9 | 9 | * assemble filepath of requested plugin |
10 | 10 | * |
11 | - * @param string $type |
|
12 | - * @param string $name |
|
11 | + * @param Smarty $smarty |
|
13 | 12 | * @return string|false |
14 | 13 | */ |
15 | 14 | function smarty_core_assemble_plugin_filepath($params, &$smarty) |
@@ -9,8 +9,6 @@ |
||
9 | 9 | * Retrieves PHP script resource |
10 | 10 | * |
11 | 11 | * sets $php_resource to the returned resource |
12 | - * @param string $resource |
|
13 | - * @param string $resource_type |
|
14 | 12 | * @param $php_resource |
15 | 13 | * @return boolean |
16 | 14 | */ |
@@ -8,7 +8,7 @@ |
||
8 | 8 | /** |
9 | 9 | * Replace cached inserts with the actual results |
10 | 10 | * |
11 | - * @param string $results |
|
11 | + * @param Smarty $smarty |
|
12 | 12 | * @return string |
13 | 13 | */ |
14 | 14 | function smarty_core_process_cached_inserts($params, &$smarty) |
@@ -9,8 +9,7 @@ |
||
9 | 9 | * Replace nocache-tags by results of the corresponding non-cacheable |
10 | 10 | * functions and return it |
11 | 11 | * |
12 | - * @param string $compiled_tpl |
|
13 | - * @param string $cached_source |
|
12 | + * @param Smarty $smarty |
|
14 | 13 | * @return string |
15 | 14 | */ |
16 | 15 |
@@ -8,7 +8,6 @@ |
||
8 | 8 | /** |
9 | 9 | * Handle insert tags |
10 | 10 | * |
11 | - * @param array $args |
|
12 | 11 | * @return string |
13 | 12 | */ |
14 | 13 | function smarty_core_run_insert_handler($params, &$smarty) |
@@ -18,6 +18,9 @@ |
||
18 | 18 | |
19 | 19 | // $tpl_file, $cache_id, $compile_id, $results |
20 | 20 | |
21 | +/** |
|
22 | + * @param Smarty $smarty |
|
23 | + */ |
|
21 | 24 | function smarty_core_write_cache_file($params, &$smarty) |
22 | 25 | { |
23 | 26 |