PEEL Shopping
Open source ecommerce : PEEL Shopping
Namespaces | Functions
function.html_options.php File Reference

Go to the source code of this file.

Namespaces

 Smarty
 Smarty plugin to format text blocks.
 

Functions

 smarty_function_html_options ($params, $template)
 Smarty {html_options} function plugin. More...
 
 smarty_function_html_options_optoutput ($key, $value, $selected, $id, $class, &$idx)
 
 smarty_function_html_options_optgroup ($key, $values, $selected, $id, $class, &$idx)
 

Function Documentation

smarty_function_html_options (   $params,
  $template 
)

Smarty {html_options} function plugin.

Type: function
Name: html_options
Purpose: Prints the list of <option> tags generated from the passed parameters
Params:

  • 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
  • id (optional) - string default not set
  • class (optional) - string default not set
{html_image}
     (Smarty online manual)
 Monte Ohrt  

Author
Ralf Strehle (minor optimization) <ralf dot="" strehle="" at="" yahoo="" dot="" de>="">
Parameters
array$paramsparameters
Smarty_Internal_Template$templatetemplate object
Returns
string smarty_function_escape_special_chars()

Definition at line 36 of file function.html_options.php.

smarty_function_html_options_optgroup (   $key,
  $values,
  $selected,
  $id,
  $class,
$idx 
)

Definition at line 183 of file function.html_options.php.

smarty_function_html_options_optoutput (   $key,
  $value,
  $selected,
  $id,
  $class,
$idx 
)

Definition at line 149 of file function.html_options.php.


This documentation for Open ecommerce PEEL Shopping and PEEL.fr has been generated by Doxygen on Thu Oct 15 2015 14:41:42 - Peel ecommerce is a product of Agence web Advisto SAS. All rights reserved.