API - XOOPS 2.5.11 Beta 2
By monxoops.fr
function.html_checkboxes.php File Reference

Namespaces

namespace  Smarty
 

Functions

 smarty_function_html_checkboxes ($params, &$smarty)
 
 smarty_function_html_checkboxes_output ($name, $value, $output, $selected, $extra, $separator, $labels)
 

Function Documentation

◆ smarty_function_html_checkboxes()

smarty_function_html_checkboxes (   $params,
$smarty 
)

Smarty {html_checkboxes} function plugin

File: function.html_checkboxes.php
Type: function
Name: html_checkboxes
Date: 24.Feb.2003
Purpose: Prints out a list of checkbox input types
Input:

  • name (optional) - string default "checkbox"
  • values (required) - array
  • options (optional) - associative array
  • checked (optional) - array default not set
  • separator (optional) - ie
    or  
  • output (optional) - the output next to each checkbox
  • assign (optional) - assign the output as an array to this variable Examples:
    {html_checkboxes values=$ids output=$names}
    {html_checkboxes values=$ids name='box' separator='
    ' output=$names} {html_checkboxes values=$ids checked=$checked separator='
    ' output=$names}
    {html_checkboxes} (Smarty online manual) Christopher Kvarme chris.nosp@m.toph.nosp@m.er.kv.nosp@m.arme.nosp@m.@flas.nosp@m.hjab.nosp@m..com credits to Monte Ohrt <monte at ohrt dot com> 1.0 array Smarty string smarty_function_escape_special_chars()
Here is the call graph for this function:

◆ smarty_function_html_checkboxes_output()

smarty_function_html_checkboxes_output (   $name,
  $value,
  $output,
  $selected,
  $extra,
  $separator,
  $labels 
)
Here is the call graph for this function:
Here is the caller graph for this function: