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

Procedural File: function.html_options.php

Source Location: /libs/plugins/function.html_options.php



Page Details:

Smarty plugin









smarty_function_html_options [line 30]

string smarty_function_html_options( mixed $params, mixed &$smarty)

Smarty {html_options} function plugin

Type: function
Name: html_options
Input:

  • 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
Purpose: Prints the list of <option> tags generated from the passed parameters




Tags:



[ Top ]



smarty_function_html_options_optgroup [line 111]

void smarty_function_html_options_optgroup( $key, $values, $selected)



Parameters

   $key  
   $values  
   $selected  
[ Top ]



smarty_function_html_options_optoutput [line 98]

void smarty_function_html_options_optoutput( $key, $value, $selected)



Parameters

   $key  
   $value  
   $selected  
[ Top ]



Documentation generated on Thu, 29 Jun 2006 22:13:13 +0200 by phpDocumentor 1.3.0RC6