[ Index ]

PHP Cross Reference of vtigercrm-6.1.0

title

Body

[close]

/libraries/Smarty/libs/plugins/ -> function.html_checkboxes.php (summary)

Smarty plugin

File Size: 216 lines (7 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 1 file
 libraries/Smarty/libs/plugins/shared.escape_special_chars.php

Defines 2 functions

  smarty_function_html_checkboxes()
  smarty_function_html_checkboxes_output()

Functions
Functions that are not part of a class:

smarty_function_html_checkboxes($params, $template)   X-Ref
Smarty {html_checkboxes} function plugin

File:       function.html_checkboxes.php<br>
Type:       function<br>
Name:       html_checkboxes<br>
Date:       24.Feb.2003<br>
Purpose:    Prints out a list of checkbox input types<br>
Examples:
<pre>
{html_checkboxes values=$ids output=$names}
{html_checkboxes values=$ids name='box' separator='<br>' output=$names}
{html_checkboxes values=$ids checked=$checked separator='<br>' output=$names}
</pre>
Params:
<pre>
- name       (optional) - string default "checkbox"
- values     (required) - array
- options    (optional) - associative array
- checked    (optional) - array default not set
- separator  (optional) - ie <br> or &nbsp;
- output     (optional) - the output next to each checkbox
- assign     (optional) - assign the output as an array to this variable
- escape     (optional) - escape the content (not value), defaults to true
</pre>

author: Christopher Kvarme <[email protected]>
author: credits to Monte Ohrt <monte at ohrt dot com>
param: array $params parameters
param: object $template template object
return: string

smarty_function_html_checkboxes_output($name, $value, $output, $selected, $extra, $separator, $labels, $label_ids, $escape=true)   X-Ref
No description



Generated: Fri Nov 28 20:08:37 2014 Cross-referenced by PHPXref 0.7.1