Make a select box for Tracking All Devices
static public dropdownAllDevices ( $myname, $itemtype, $items_id, $admin, $users_id, $entity_restrict, $options = [] ) : nothing | ||
$myname | select name | |
$itemtype | preselected value.for item type | |
$items_id | preselected value for item ID (default 0) | |
$admin | is an admin access ? (default 0) | |
$users_id | user ID used to display my devices (default 0 | |
$entity_restrict | Restrict to a defined entity (default -1) | |
$options | array of possible options: - tickets_id : ID of the ticket - used : ID of the requester user - multiple : allow multiple choice - rand : random number | |
return | nothing | (print out an HTML select box) |