include/Smarty/plugins/function.html_radios.php

Show: inherited
    Table of Contents

    Smarty plugin

    Package
    Smarty  
    Subpackage
    plugins  

    Functions

    functionsmarty_function_html_radios(  $params,  $smarty ) : string

    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}
    Parameters
    Name Type Description
    $params

    array

    $smarty

    Smarty

    Returns
    Type Description
    string
    Details
    Author
    Christopher Kvarme  
    Author
    credits to Monte Ohrt  
    Link
    {html_radios} (Smarty online manual)  
    Uses
    \smarty_function_escape_special_chars()  
    Version
    1.0  
    functionsmarty_function_html_radios_output(  $name,  $value,  $output,  $selected,  $extra,  $separator,  $labels,  $label_ids ) : void

    Parameters
    Name Type Description
    $name
    $value
    $output
    $selected
    $extra
    $separator
    $labels
    $label_ids
    Documentation was generated by DocBlox 0.18.1.