Procedural File: function.html_options.php

Source Location: /PEAR/PhpDocumentor/phpDocumentor/Smarty-2.6.0/libs/plugins/function.html_options.php



Classes:

Page Details:

Smarty plugin





smarty_function_html_options

string smarty_function_html_options( array $params, Smarty &$smarty)

[line 29]

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:

Parameters

  • array $params -
  • Smarty &$smarty -

[ Top ]

smarty_function_html_options_optgroup

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

[line 107]

Parameters

  • $key -
  • $values -
  • $selected -

[ Top ]

smarty_function_html_options_optoutput

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

[line 94]

Parameters

  • $key -
  • $value -
  • $selected -

[ Top ]


Documentation generated on Sun, 30 Mar 2008 23:05:19 -0500 by phpDocumentor 1.4.2