PEEL Shopping
Open source ecommerce : PEEL Shopping
Namespaces | Functions
function.html_radios.php File Reference

Go to the source code of this file.

Namespaces

 Smarty
 Smarty plugin to format text blocks.
 

Functions

 smarty_function_html_radios ($params, $template)
 Smarty {html_radios} function plugin. More...
 
 smarty_function_html_radios_output ($name, $value, $output, $selected, $extra, $separator, $labels, $label_ids, $escape)
 

Function Documentation

smarty_function_html_radios (   $params,
  $template 
)

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
Params:

  • name (optional) - string default "radio"
  • values (required) - array
  • options (required) - 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
  • escape (optional) - escape the content (not value), defaults to true 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}
{html_radios}
     (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  

Version
1.0
Parameters
array$paramsparameters
Smarty_Internal_Template$templatetemplate object
Returns
string smarty_function_escape_special_chars()

Definition at line 45 of file function.html_radios.php.

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

Definition at line 157 of file function.html_radios.php.


This documentation for Open ecommerce PEEL Shopping and PEEL.fr has been generated by Doxygen on Thu Oct 15 2015 14:41:42 - Peel ecommerce is a product of Agence web Advisto SAS. All rights reserved.