Function generateListFromArray
Creates the body of a select list
array |
$currentValue |
list of items to be flagged as checked |
array |
$list |
the elements of the select list |
boolean |
$descending |
set true for a reverse order sort |
|
$localize |