| 434 | | return array(); |
| | 434 | $Enums['categories']['status'] = array('public', 'private'); |
| | 435 | $Enums['history']['section'] = array('categories','tags','search','list','favorites','most_visited','best_rated','recent_pics','recent_cats'); |
| | 436 | $Enums['user_infos']['status'] = array('webmaster','admin','normal','generic','guest'); |
| | 437 | $Enums['image']['type'] = array('picture','high','other'); |
| | 438 | $Enums['plugins']['state'] = array('active', 'inactive'); |
| | 439 | $Enums['user_cache_image']['access_type'] = array('NOT IN','IN'); |
| | 440 | |
| | 441 | $table = str_replace($GLOBALS['prefixeTable'], '', $table); |
| | 442 | if (isset($Enums[$table][$field])) { |
| | 443 | return $Enums[$table][$field]; |
| | 444 | } else { |
| | 445 | return array(); |
| | 446 | } |