show a dropdown to selec a type
static public showItemType ( $types = '', $options = [] ) : integer | ||
$types | Types used (default "state_types") (default '') | |
$options | Array of optional options name, value, rand, emptylabel, display_emptychoice, on_change, plural, checkright - toupdate : array / Update a specific item on select change on dropdown (need value_fieldname, to_update, url (see Ajax::updateItemOnSelectEvent for information) and may have moreparams) | |
return | integer | rand for select id |