/libs/plugins/function.html_options.php

Description

Smarty plugin

Functions
smarty_function_html_options (line 36)

Smarty {html_options} function plugin

Type: function
Name: html_options
Purpose: Prints the list of <option> tags generated from the passed parameters
Params:

 - name       (optional) - string default "select"
 - values     (required) - if no options supplied) - array
 - options    (required) - if no values supplied) - associative array
 - selected   (optional) - string default not set
 - output     (required) - if not options supplied) - array
 - id         (optional) - string default not set
 - class      (optional) - string default not set

string smarty_function_html_options (array $params, Smarty_Internal_Template $template)
smarty_function_html_options_optgroup (line 135)
void smarty_function_html_options_optgroup ( $key,  $values,  $selected,  $id,  $class,  &$idx)
  • $key
  • $values
  • $selected
  • $id
  • $class
  • &$idx
smarty_function_html_options_optoutput (line 112)
void smarty_function_html_options_optoutput ( $key,  $value,  $selected,  $id,  $class,  &$idx)
  • $key
  • $value
  • $selected
  • $id
  • $class
  • &$idx

Documentation generated on Sat, 24 Sep 2011 20:23:12 +0200 by phpDocumentor 1.4.1