include/Smarty/plugins/function.html_options.php
Smarty plugin
- Package
- Smarty
- Subpackage
- plugins
Functions
smarty_function_html_options(
$params, $smarty
)
:
string
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
Name | Type | Description |
---|---|---|
$params | array |
|
$smarty | Smarty |
Type | Description |
---|---|
string |
- Author
- Monte Ohrt
- Link
- {html_image} (Smarty online manual)
- Uses
- \smarty_function_escape_special_chars()
smarty_function_html_options_optgroup(
$key, $values, $selected
)
:
void
Parameters
Name | Type | Description |
---|---|---|
$key | ||
$values | ||
$selected |