ARTISAN PROJECT ArtisanSmarty
plugins
[ class tree: ArtisanSmarty ] [ index: ArtisanSmarty ] [ all elements ]

Procedural File: function.html_options.php

Source Location: /ccdb/bbs/lib/smarty/plugins/function.html_options.php

Page Details

ArtisanSmarty plugin

Functions
smarty_function_html_options  [line 29]

string smarty_function_html_options( array $params, Smarty &$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

Parameters:
array   $params: 
Smarty   &$smarty: 

API Tags:
Uses:  smarty_function_escape_special_chars()

Information Tags:
Link:  {html_image} (Smarty online manual)

[ Top ]
smarty_function_html_options_optgroup  [line 110]

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


[ Top ]
smarty_function_html_options_optoutput  [line 97]

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


[ Top ]


Documentation generated on Thu, 04 Jan 2007 17:47:02 +0900