function Ip2LongFilter::op_simple in IP address manager 7.2
Overrides views_handler_filter_numeric::op_simple
File
- src/
Plugin/ views/ filter/ Ip2LongFilter.php, line 22 - Contains the ip_views_handler_filter_ip2long class.
Class
- Ip2LongFilter
- A handler to provide proper displays IP Long values
Code
function op_simple($field) {
$this->query
->add_where($this->options['group'], $field, ip2long($this->value['value']), $this->operator);
}