phpDocumentor Smarty
plugins
[ class tree: Smarty ] [ index: Smarty ] [ all elements ]

Procedural File: function.html_checkboxes.php

Source Location: /phpDocumentor/Smarty-2.6.0/libs/plugins/function.html_checkboxes.php

Page Details

Smarty plugin

Filesource:  Source Code for this file
Functions
smarty_function_html_checkboxes  [line 40]

string smarty_function_html_checkboxes( array $params, Smarty &$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) - without this one the buttons don't have names
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: 
Smarty   &$smarty: 

API Tags:
Uses:  smarty_function_escape_special_chars()

Information Tags:
Version:  1.0
Author:  Christopher Kvarme <[email protected]>
Author:  credits to Monte Ohrt <[email protected]>
Link:  http://smarty.php.net/manual/en/language.function.html.checkboxes.php {html_checkboxes} (Smarty online manual)

[ Top ]
smarty_function_html_checkboxes_output  [line 118]

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


[ Top ]


Documentation generated on Tue, 24 Oct 2006 09:22:37 -0500 by phpDocumentor 1.3.1