Function renderSelectProperty
Renders a select element with a label.
If there are only two possible values which are called true/false, enabled/disabled or 0/1, a checkbox is rendered.
Returns an associative array with the label and the input field.
Package: Core\Backend
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Timo Trautmann
Author: Simon Sprankel
Located at includes/include.system_configuration.php
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Timo Trautmann
Author: Simon Sprankel
Located at includes/include.system_configuration.php
string |
$name |
the name of the form element |
array |
$possibleValues |
the possible values |
string |
$value |
the value which should be selected |
string |
$label |
the label text which should be rendered |
integer |
$width = 328 |
array
|
associative array with the label and the input field |