@@ -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 | */ |
@@ -13,6 +13,9 @@ |
||
| 13 | 13 | |
| 14 | 14 | // $plugins |
| 15 | 15 | |
| 16 | +/** |
|
| 17 | + * @param Smarty $smarty |
|
| 18 | + */ |
|
| 16 | 19 | function smarty_core_load_plugins($params, &$smarty) |
| 17 | 20 | { |
| 18 | 21 | |
@@ -13,6 +13,9 @@ |
||
| 13 | 13 | |
| 14 | 14 | // $type |
| 15 | 15 | |
| 16 | +/** |
|
| 17 | + * @param Smarty $smarty |
|
| 18 | + */ |
|
| 16 | 19 | function smarty_core_load_resource_plugin($params, &$smarty) |
| 17 | 20 | { |
| 18 | 21 | /* |
@@ -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 | |