Usage:
$smcFunc['db_list_indexes'](table_name, detail, parameters)
Description: This function returns the current indexes in a table in a multi-dimensional array.
Parameters:
- table_name (string) the name of an existing table
- detail (boolean) if true a formatted array will be returned of the index info, otherwise the plain straight index info is returned. The detailed array is 'name', 'type', 'columns'
- parameters (array) not used
Return: (array) the current indexes in a table.