@@ -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) |
@@ -23,6 +23,7 @@ |
||
23 | 23 | * 'global' => overrides scope, setting to parent if true) |
24 | 24 | * </pre> |
25 | 25 | * @param Smarty |
26 | + * @param Smarty $smarty |
|
26 | 27 | */ |
27 | 28 | function smarty_function_config_load($params, &$smarty) |
28 | 29 | { |
@@ -123,6 +123,12 @@ |
||
123 | 123 | |
124 | 124 | } |
125 | 125 | |
126 | +/** |
|
127 | + * @param string $name |
|
128 | + * @param string $extra |
|
129 | + * @param string $separator |
|
130 | + * @param boolean $labels |
|
131 | + */ |
|
126 | 132 | function smarty_function_html_checkboxes_output($name, $value, $output, $selected, $extra, $separator, $labels) { |
127 | 133 | $_output = ''; |
128 | 134 | if ($labels) $_output .= '<label>'; |
@@ -127,6 +127,14 @@ |
||
127 | 127 | |
128 | 128 | } |
129 | 129 | |
130 | +/** |
|
131 | + * @param string $name |
|
132 | + * @param null|string $selected |
|
133 | + * @param string $extra |
|
134 | + * @param string $separator |
|
135 | + * @param boolean $labels |
|
136 | + * @param boolean $label_ids |
|
137 | + */ |
|
130 | 138 | function smarty_function_html_radios_output($name, $value, $output, $selected, $extra, $separator, $labels, $label_ids) { |
131 | 139 | $_output = ''; |
132 | 140 | if ($labels) { |
@@ -161,6 +161,10 @@ |
||
161 | 161 | return $output; |
162 | 162 | } |
163 | 163 | |
164 | +/** |
|
165 | + * @param string $name |
|
166 | + * @param string $var |
|
167 | + */ |
|
164 | 168 | function smarty_function_html_table_cycle($name, $var, $no) { |
165 | 169 | if(!is_array($var)) { |
166 | 170 | $ret = $var; |
@@ -195,6 +195,9 @@ |
||
195 | 195 | return $params['buttons']; |
196 | 196 | } |
197 | 197 | |
198 | +/** |
|
199 | + * @param string $glue |
|
200 | + */ |
|
198 | 201 | function implode_r($glue, $pieces, $extract_first_item = false) { |
199 | 202 | $result = array_shift($pieces); |
200 | 203 | if(is_array($result)) { |