ARTISAN PROJECT ArtisanSmarty
plugins
[ class tree: ArtisanSmarty ] [ index: ArtisanSmarty ] [ all elements ]

Procedural File: function.html_checkboxes.php

Source Location: /ccdb/bbs/lib/smarty/plugins/function.html_checkboxes.php

Page Details

ArtisanSmarty plugin

Functions
smarty_function_html_checkboxes  [line 52]

string smarty_function_html_checkboxes( array $params, object &$smarty  )

Smarty {html_checkboxes} function plugin

File: function.html_checkboxes.php
Type: function
Name: html_checkboxes
Date: 2005/06/11 13:11
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}

Parameters:
array   $params:  パラメータ
object   $smarty:  Smarty

API Tags:
Uses:  smarty_function_escape_special_chars()

Information Tags:
Version:  1.1
Author:  Akito<mailto:akito-artisan@five-foxes.com>
Author:  credits to Monte Ohrt <at ohrt dot com>
Author:  Christopher Kvarme <mailto:christopher.kvarme@flashjab.com>

[ Top ]
smarty_function_html_checkboxes_output  [line 137]

void smarty_function_html_checkboxes_output( mixed $name, mixed $value, mixed $output, mixed $selected, mixed $extra, mixed $separator, mixed $labels  )


[ Top ]


Documentation generated on Thu, 04 Jan 2007 17:47:01 +0900