CommonDBTM::dropdown PHP Method

dropdown() static public method

This should be overloaded in Class
static public dropdown ( $options = [] ) : nothing
$options array of possible options: Parameters which could be used in options array : - name : string / name of the select (default is depending itemtype) - value : integer / preselected value (default 0) - comments : boolean / is the comments displayed near the dropdown (default true) - entity : integer or array / restrict to a defined entity or array of entities (default -1 : no restriction) - 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) - used : array / Already used items ID: not to display in dropdown (default empty)
return nothing display the dropdown
    static function dropdown($options = array())
    {
        /// TODO try to revert usage : Dropdown::show calling this function
        /// TODO use this function instead of Dropdown::show
        return Dropdown::show(get_called_class(), $options);
    }
CommonDBTM