function views_handler_filter_watchdog_severity::get_value_options in Views Watchdog 6
Same name and namespace in other branches
- 6.3 views/handlers/views_handler_filter_watchdog_severity.inc \views_handler_filter_watchdog_severity::get_value_options()
- 6.2 views/handlers/views_handler_filter_watchdog_severity.inc \views_handler_filter_watchdog_severity::get_value_options()
- 7.3 views/handlers/views_handler_filter_watchdog_severity.inc \views_handler_filter_watchdog_severity::get_value_options()
File
- views/
handlers/ views_handler_filter_watchdog_severity.inc, line 14 - Views callbacks for the "Views watchdog" module.
Class
Code
function get_value_options() {
if (!isset($this->value_options)) {
$options = array();
foreach (views_watchdog_get_severity() as $key => $value) {
$options[$value['arg']] = $value['title'];
}
$this->value_options = $options;
}
}