This method is deprecated and will be removed in a later release. Use getMenu() with $compareFirstCol = false instead.
string getMenu2(
optional string $selectName='',
optional mixed $defaultValue=false,
optional bool $blankFirstItem=true,
optional bool $multiple=fale,
optional int $numberOfRows=0,
optional string $optionalAttributes='',
)
The function getMenu2() is a shortcut to getMenu() , forcing the method to use the description (1st column) as the matching field for the selected item