Make a select box for all items
static public showAllItems ( $myname, $value_type, $value, $entity_restrict, $types = '', $onlyglobal = false, $checkright = false, $itemtypename = 'itemtype' ) : nothing | ||
$myname | select name | |
$value_type | default value for the device type (default 0) | |
$value | default value (default 0) | |
$entity_restrict | Restrict to a defined entity (default -1) | |
$types | Types used (default '') | |
$onlyglobal | Restrict to global items (false by default) | |
$checkright | Restrict to items with read rights (false by default) | |
$itemtypename | name used for itemtype select | |
return | nothing | (print out an HTML select box) |