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

Procedural File: function.html_radios.php

Source Location: /includes/classes/Smarty/plugins/function.html_radios.php



Page Details:

Smarty plugin



Tags:

filesource:  Source Code for this file








smarty_function_html_radios [line 41]

string smarty_function_html_radios( array $params, Smarty &$smarty)

Smarty {html_radios} function plugin

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

  • name (optional) - string default "radio"
  • values (required) - array
  • options (optional) - associative array
  • checked (optional) - array default not set
  • separator (optional) - ie
    or  
  • output (optional) - the output next to each radio button
  • assign (optional) - assign the output as an array to this variable
Examples:
 {html_radios values=$ids output=$names}
 {html_radios values=$ids name='box' separator='
' output=$names} {html_radios values=$ids checked=$checked separator='
' output=$names}




Tags:



Parameters

array   $params  
Smarty   &$smarty  
[ Top ]



smarty_function_html_radios_output [line 130]

void smarty_function_html_radios_output( $name, $value, $output, $selected, $extra, $separator, $labels, $label_ids)



Parameters

   $name  
   $value  
   $output  
   $selected  
   $extra  
   $separator  
   $labels  
   $label_ids  
[ Top ]



Documentation generated on Fri, 18 Jul 2008 21:45:21 +0200 by phpDocumentor 1.4.1