Returns the value of the dropdown from $table with ID $id.
static public getDropdownName ( $table, $id, $withcomment, $translate = true, $tooltip = true ) : string | ||
$table | the dropdown table from witch we want values on the select | |
$id | id of the element to get | |
$withcomment | give array with name and comment (default 0) | |
$translate | (true by default) | |
$tooltip | boolean (true by default) returns a tooltip, else returns only 'comment' | |
return | string | the value of the dropdown or if not exists |