You are here

function Ip2LongFilter::op_regex in IP address manager 7.2

Overrides views_handler_filter_numeric::op_regex

File

src/Plugin/views/filter/Ip2LongFilter.php, line 37
Contains the ip_views_handler_filter_ip2long class.

Class

Ip2LongFilter
A handler to provide proper displays IP Long values

Code

function op_regex($field) {
  $this->query
    ->add_where($this->options['group'], $field, ip2long($this->value['value']), 'RLIKE');
}