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

Procedural File: function.html_options.php

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

Page Details

Smarty plugin

Filesource:  Source Code for this file
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:  http://smarty.php.net/manual/en/language.function.html.options.php {html_image} (Smarty online manual)

[ Top ]
smarty_function_html_options_optgroup  [line 107]

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


[ Top ]
smarty_function_html_options_optoutput  [line 94]

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


[ Top ]


Documentation generated on Tue, 24 Oct 2006 09:22:38 -0500 by phpDocumentor 1.3.1