You are here

function timefield_handler_filter_timefield_duration::init in Timefield 7

Provide some extra help to get the operator/value easier to use.

This likely has to be overridden by filters which are more complex than simple operator/value.

Overrides views_handler_filter::init

File

views/timefield_handler_filter_timefield_duration.inc, line 11
Contains the duration filter handler.

Class

timefield_handler_filter_timefield_duration
@file Contains the duration filter handler.

Code

function init(&$view, &$options) {
  parent::init($view, $options);
  $this->duration_unit = $this->options['duration_unit'];
}