@@ -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 |
@@ -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_read_cache_file(&$params, &$smarty) |
22 | 25 | { |
23 | 26 | static $content_cache = array(); |
@@ -17,6 +17,9 @@ |
||
17 | 17 | |
18 | 18 | // $auto_base, $auto_source = null, $auto_id = null, $exp_time = null |
19 | 19 | |
20 | +/** |
|
21 | + * @param Smarty $smarty |
|
22 | + */ |
|
20 | 23 | function smarty_core_rm_auto($params, &$smarty) |
21 | 24 | { |
22 | 25 | if (!@is_dir($params['auto_base'])) |
@@ -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 |
@@ -8,9 +8,8 @@ |
||
8 | 8 | /** |
9 | 9 | * Extract non-cacheable parts out of compiled template and write it |
10 | 10 | * |
11 | - * @param string $compile_path |
|
12 | - * @param string $template_compiled |
|
13 | - * @return boolean |
|
11 | + * @param Smarty $smarty |
|
12 | + * @return null|boolean |
|
14 | 13 | */ |
15 | 14 | |
16 | 15 | function smarty_core_write_compiled_include($params, &$smarty) |
@@ -8,9 +8,7 @@ |
||
8 | 8 | /** |
9 | 9 | * write the compiled resource |
10 | 10 | * |
11 | - * @param string $compile_path |
|
12 | - * @param string $compiled_content |
|
13 | - * @return true |
|
11 | + * @return boolean |
|
14 | 12 | */ |
15 | 13 | function smarty_core_write_compiled_resource($params, &$smarty) |
16 | 14 | { |
@@ -8,9 +8,6 @@ |
||
8 | 8 | /** |
9 | 9 | * write out a file to disk |
10 | 10 | * |
11 | - * @param string $filename |
|
12 | - * @param string $contents |
|
13 | - * @param boolean $create_dirs |
|
14 | 11 | * @return boolean |
15 | 12 | */ |
16 | 13 | function smarty_core_write_file($params, &$smarty) |