_watchdog_get_message_types
- Versions
- 4.6 – 5
_watchdog_get_message_types()
Code
modules/watchdog/watchdog.module, line 241
<?php
function _watchdog_get_message_types() {
$types = array();
$result = db_query('SELECT DISTINCT(type) FROM {watchdog} ORDER BY type');
while ($object = db_fetch_object($result)) {
$types[] = $object->type;
}
return $types;
}
?>Login or register to post comments 