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

File: function.html_radios.php

Source Location: /PhpDocumentor-1.5.0a1/phpDocumentor/Smarty-2.6.0/libs/plugins/function.html_radios.php

Classes:

Page Details:

Smarty plugin

smarty_function_html_radios [line 40]

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) - without this one the buttons don't have names
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}



Parameters

array   $params  
Smarty   &$smarty  
[ Top ]



smarty_function_html_radios_output [line 121]

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



Parameters

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



Documentation generated on Mon, 11 Mar 2019 15:50:19 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.